summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-13 20:48:16 +0100
committerGitHub <noreply@github.com>2017-01-13 20:48:16 +0100
commit9aa7f43f7e7310c285f39a38ff36e1546c00058c (patch)
treecdcfdc0f188027cd77937c790895fc5926bb85dd /isisd/isis_lsp.c
parentbgpd: Remove missed HAVE_IPV6 (diff)
parentMerge branch 'stable/2.0-for-merge' (diff)
downloadfrr-9aa7f43f7e7310c285f39a38ff36e1546c00058c.tar.xz
frr-9aa7f43f7e7310c285f39a38ff36e1546c00058c.zip
Merge branch 'master' into cleanup
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index 0ece4c919..da24a7f0d 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -544,6 +544,14 @@ lsp_update (struct isis_lsp *lsp, struct stream *stream,
if (dnode)
dnode_destroy (dict_delete (area->lspdb[level - 1], dnode));
+ if (lsp->own_lsp)
+ {
+ zlog_err("ISIS-Upd (%s): BUG updating LSP %s still marked as own LSP",
+ area->area_tag, rawlspid_print(lsp->lsp_header->lsp_id));
+ lsp_clear_data(lsp);
+ lsp->own_lsp = 0;
+ }
+
/* rebuild the lsp data */
lsp_update_data (lsp, stream, area, level);