summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_flood.c
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-08-13 19:46:56 +0200
committerF. Aragon <paco@voltanet.io>2018-08-13 19:46:56 +0200
commite26253c08b39312aa1fa2e8a2f0f49d183a6dd4b (patch)
treeb418e987359011eb7201ca7cd0346f378f86de2f /ospf6d/ospf6_flood.c
parentMerge pull request #2809 from opensourcerouting/routemap-rpki-fix (diff)
downloadfrr-e26253c08b39312aa1fa2e8a2f0f49d183a6dd4b.tar.xz
frr-e26253c08b39312aa1fa2e8a2f0f49d183a6dd4b.zip
ospf6d: revert fix for Coverity 1221459
The correction in commit 7edb6aa (PR #2502) was wrong, as it is was not taking in consideration the unlock counter. Thanks to @eqvinox for noticing it. Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_flood.c')
-rw-r--r--ospf6d/ospf6_flood.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_flood.c b/ospf6d/ospf6_flood.c
index ae26668c8..2059d8486 100644
--- a/ospf6d/ospf6_flood.c
+++ b/ospf6d/ospf6_flood.c
@@ -347,7 +347,6 @@ void ospf6_flood_interface(struct ospf6_neighbor *from, struct ospf6_lsa *lsa,
"Received is newer, remove requesting");
if (req == on->last_ls_req) {
ospf6_lsa_unlock(req);
- req = NULL;
on->last_ls_req = NULL;
}
if (req)