diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-13 20:48:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 20:48:16 +0100 |
commit | 9aa7f43f7e7310c285f39a38ff36e1546c00058c (patch) | |
tree | cdcfdc0f188027cd77937c790895fc5926bb85dd /isisd/isis_lsp.c | |
parent | bgpd: Remove missed HAVE_IPV6 (diff) | |
parent | Merge branch 'stable/2.0-for-merge' (diff) | |
download | frr-9aa7f43f7e7310c285f39a38ff36e1546c00058c.tar.xz frr-9aa7f43f7e7310c285f39a38ff36e1546c00058c.zip |
Merge branch 'master' into cleanup
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r-- | isisd/isis_lsp.c | 8 |
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); |