]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix duplicated packet read 8925/head
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 25 Jun 2021 11:59:28 +0000 (14:59 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Sat, 26 Jun 2021 09:57:26 +0000 (12:57 +0300)
commit709bd204214c9d31592e4c2ccbb78b6b3f79a99b
tree1bb3a367f659d6ce9d80308fc3b05c5c8d903d9b
parent1c06b80f0442f5a32c1c023e71d235d95e384640
ospf6d: fix duplicated packet read

When OSPFv3 router is configured in both default and non-default VRFs,
every packet destined to a non-default VRF is read twice. This makes it
impossible to establish neighborship because every DbDesc packet is
treated as duplicated and we end up infinitely exchanging DbDescs.

We should drop packets received in the default VRF if an interface we
received it on is bound to another VRF.

Same thing was done for OSPFv2 in 555691e.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospf6d/ospf6_message.c