summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-06-08 17:01:56 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-06-09 19:29:12 +0300
commit8e85b98aa3e5ecf8c3c355ccdff23d0334417bf2 (patch)
treeb2d89949e36968d156c38db15ce10df162d8cf67 /ospf6d/ospf6_interface.c
parentde4b84ab860de0a38ab41a6698165217e4dbecda (diff)
ospfd: fix memory leaks in summarization
To reproduce the issue: 1. Create summary-address: `summary-address 1.1.1.0/24`. 2. Try to delete it with the wrong tag: `no summary-address 1.1.1.0/24 tag 1`. Each time this command is executed, route_node_lookup is called which locks route node one more time. As the tag is wrong, the function return immediately without unlock. 3. Finally delete the summary-address: `no summary-address 1.1.1.0/24`. The route node won't be deleted. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions