]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Remove BGP_EVENT_FLUSH and just use event_cancel_event_ready
authorDonald Sharp <sharpd@nvidia.com>
Thu, 7 Sep 2023 13:46:06 +0000 (09:46 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 9 Sep 2023 20:28:05 +0000 (16:28 -0400)
commit4aec430ce30fc63b6da8f4fa0223e58322989274
tree07e9255425573d5fe098caead6be0579b06ad971
parentbee4e27e78506638a32b0beac0bb1daad4d14a44
bgpd: Remove BGP_EVENT_FLUSH and just use event_cancel_event_ready

The usage of BGP_EVENT_FLUSH is unnecessarily abstracting the
call into event_cancel_event_ready and in addtion the macro
was not always being used!  Just convert to using the actual
event_cancel_event_ready function directly.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_fsm.c
bgpd/bgp_fsm.h
bgpd/bgpd.c