You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On deletion of a namespace that FRR is actively using, zebra can crash because the namespace deletion event causes the namespace to delete the struct nlsock *nl stored in the kernel_netlink_nlsock hash. At the same time if FRR has scheduled a batch of dplane contexts to send to the kernel in that namespace, zebra will crash when attempting to lookup the struct nlsock * stored in the hash.
$1 = 21
(gdb) bt
#0 0x0000560384c691ee in netlink_recv_msg (nl=0x0, msg=0x7f5956ca4780) at zebra/kernel_netlink.c:948
#1 0x0000560384c69e74 in nl_batch_read_resp (bth=0x7f5956ca4860) at zebra/kernel_netlink.c:1312
#2 0x0000560384c6a486 in nl_batch_send (bth=0x7f5956ca4860) at zebra/kernel_netlink.c:1496
#3 0x0000560384c6a94b in kernel_update_multi (ctx_list=0x7f5956ca4900) at zebra/kernel_netlink.c:1704
#4 0x0000560384ca37ff in kernel_dplane_process_func (prov=0x56038531ca50) at zebra/zebra_dplane.c:6333
#5 0x0000560384ca4139 in dplane_thread_loop (event=0x7f5956ca4ae0) at zebra/zebra_dplane.c:6768
#6 0x00007f5957d4c334 in event_call (thread=0x7f5956ca4ae0) at lib/event.c:1995
#7 0x00007f5957cbe6a3 in fpt_run (arg=0x5603854dbcd0) at lib/frr_pthread.c:296
#8 0x00007f5957cbe0b2 in frr_pthread_inner (arg=0x5603854dbcd0) at lib/frr_pthread.c:145
#9 0x00007f5957894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#10 0x00007f5957926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)
On a namespace shutdown, if using namespaces as vrf's, the dplane context's that are queued should be sifted through and those that are attempting to use the namespace should be removed from the data being planned to send to the kernel
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.
On deletion of a namespace that FRR is actively using, zebra can crash because the namespace deletion event causes the namespace to delete the
struct nlsock *nl
stored in the kernel_netlink_nlsock hash. At the same time if FRR has scheduled a batch of dplane contexts to send to the kernel in that namespace, zebra will crash when attempting to lookup thestruct nlsock *
stored in the hash.On a namespace shutdown, if using namespaces as vrf's, the dplane context's that are queued should be sifted through and those that are attempting to use the namespace should be removed from the data being planned to send to the kernel
The text was updated successfully, but these errors were encountered: