forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: rework arp-nd-redirect udp sock handling
Currently we only try to to open the UDP socket used for arp-nd-redirect if 1) the first ES is configured, or 2) the "base l2vni" changes. If the call to bind() fails during both of those triggers, then the sock will stay closed indefinitely. A customer hit a scenario where this happened due to the bind() getting called before the ES Originator IP (derived from the base l2vni's vxlan local-ip) was assigned to an interface as a local address. This adds an additional trigger point for the sock creation when an RTM_NEWADDR is received for an IPv4 address added to lo. Testing Done: evpn-mh-smoke Ticket: #3131423 Signed-off-by: Trey Aspelund <[email protected]>
- Loading branch information
1 parent
ebea3c5
commit f636782
Showing
4 changed files
with
66 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters