]> git.proxmox.com Git - mirror_frr.git/commit - bfdd/bfd.h
bfdd: cleanup vrf handling in packet receive
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 15:55:33 +0000 (18:55 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 15:55:33 +0000 (18:55 +0300)
commiteb4135bad2f3dd633394ae7b4647168565c7b5b6
treef6224b39f939c1ade279fe9f694b8e610495ac1c
parent7b3e821076043c1f141e1235557344b9e0b345d4
bfdd: cleanup vrf handling in packet receive

We get the pointer to the interface on which the packet was received
right at the beginning of bfd_recv_cb. So let's use this pointer and
don't perform additional interface lookups.

Also explain in more detail how we process VRF id with different
backends.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bfdd/bfd.c
bfdd/bfd.h
bfdd/bfd_packet.c