summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-08-18 15:02:49 -0700
committervivek <vivek@cumulusnetworks.com>2016-08-18 16:50:09 -0700
commite5d1e72daaf5775e4bf67d812553d4fd8775791a (patch)
tree699f48480bf052457a53005182055ec0ffc7ea3b /zebra/zebra_rib.c
parent926ea62e0bfb598bfa2fb950e28861b2588f41ea (diff)
bgpd: Upon interface up (update) only kick-off non-Established peers
Any interface flags/parameter change (e.g., MTU, PROMISC flag change) is notified by zebra to clients as an "up" event. BGP literally treats this as the interface coming up and kicks all neighbors on that interface (i.e., directly connected peers). When doing so for IPv4 peers on the interface (numbered or unnumbered /30-/31) or IPv6 numbered peers, peers that may already be Established are also flapped; when doing so for IPv6 unnumbered peers (classic 'neighbor swpX interface' scenario with no configured IP address on interface), only peers not in Established state are processed. This patch fixes the code to ensure that in all cases, only non-Established peers are kicked. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Chris Cormier <chriscormier@cumulusnetworks.com> Ticket: CM-12526 Reviewed By: CCR-5119 Testing Done: Manual, bgp-min
Diffstat (limited to 'zebra/zebra_rib.c')
0 files changed, 0 insertions, 0 deletions