]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6d: revert fix for Coverity 1221459 2830/head
authorF. Aragon <paco@voltanet.io>
Mon, 13 Aug 2018 17:46:56 +0000 (19:46 +0200)
committerF. Aragon <paco@voltanet.io>
Mon, 13 Aug 2018 17:46:56 +0000 (19:46 +0200)
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>
ospf6d/ospf6_flood.c

index ae26668c8ae8c199230459dd29818fcb20234726..2059d8486829c099daf136c1b853df2d8e418fc0 100644 (file)
@@ -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)