-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evpn crashes and other ilk #13247
Evpn crashes and other ilk #13247
Conversation
Let's cut to the chase, we know the pointer type and it allows us to not to some gyrations. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
When a `no router bgp XXX` is issued and the bgp instance is in the process of shutting down, do not allow a l3vni change coming up from zebra to do anything. We can just safely ignore it at this point in time. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
When we have these sequence of events causing a crash in evpn_type5_test_topo1: (A) no router bgp vrf RED 100 this schedules for deletion the vrf RED instance (B) a l3vni change event from zebra this creates a bgp instance for VRF RED in some cases additionally it auto imports evpn routes into VRF RED Please note this is desired behavior to allow for the auto importation of evpn vrf routes (C) no router bgp 100 The code was allowing the deletion of the default instance and causing tests to crash. Effectively the test in bgp_vty to allow/dissallow the removal of the default instance was not correct for the case when (B) happens. Let's just not allow the command to succeed in this case as that the test was wrong. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-10765/ This is a comment from an automated CI system. |
@Mergifyio backport stable/8.5 stable/8.4 |
✅ Backports have been created
|
Evpn crashes and other ilk (backport #13247)
Evpn crashes and other ilk (backport #13247)
See individual commits but evpn_type5_test_topo1 is crashing regularly this should solve the issue