]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isis_lsp.c
isisd: skip over deleted fragments
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 18 Feb 2019 20:34:06 +0000 (21:34 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 18 Feb 2019 22:04:21 +0000 (23:04 +0100)
commit0c77e17821fe8d4bef45a5e067402a15d49e1583
tree22e794ae2633154d4be81dc385ed3aee7098bc85
parentfeed78aa63c09322ef59ef878297cb6a84f26849
isisd: skip over deleted fragments

Since LSP fragments are also on our lspdb dict, lsp_tick() needs to skip
over them after calling lsp_destroy().  Otherwise it ends up accessing
free'd memory.

Fixes: #3533
Signed-off-by: David Lamparter <equinox@diac24.net>
isisd/isis_lsp.c