]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix duplicated packet read
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 25 Jun 2021 11:59:28 +0000 (14:59 +0300)
committermergify-bot <noreply@mergify.io>
Mon, 28 Jun 2021 11:45:07 +0000 (11:45 +0000)
commit63cbb7f267e00ab32df7f62fdb5bb0ac85f3a23d
tree72d75559c75c18f83e5b612ae383b5fb403ebbd5
parent8d42f3cc1044377058e198d9c7ff0bcd8b68c69d
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>
(cherry picked from commit 709bd204214c9d31592e4c2ccbb78b6b3f79a99b)
ospf6d/ospf6_message.c