]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Prevent protodown_rc from going Bzonkas
authorDonald Sharp <sharpd@nvidia.com>
Mon, 21 Aug 2023 19:37:32 +0000 (15:37 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 21 Aug 2023 19:49:09 +0000 (15:49 -0400)
commitc937582491565d84e40bbd34a9371a3839a0a646
tree045a575b00530a32679bda502f1fd60592db3c24
parent451fb24b17cb9272981d3809f755985d9ce52f79
zebra: Prevent protodown_rc from going Bzonkas

The code that handles the protodown_rc setting for
VRRP interfaces in zebra is sending a interface
to be set into a protodown state *before* the
interface has been learned by the kernel.  Resulting
in crashes when the data plane sends the ctx back
to us saying hey man you are uncool.

Additionally change the protodown code to refuse
to send any protodown_rc codes *until* the interface
has actually been learned about from the kernel.

Ticket: 3582375
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/interface.c