summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-04-17 09:39:03 -0700
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-04-20 08:35:42 -0700
commit0c68e088720005ed1dbc6f2e461f57e0f4316996 (patch)
tree059917e6ed104d1194c0299ae18cd0e02904325b /lib/compiler.h
parentc02a40c14fec005d419ad1dbd3fac0e9521b9c6f (diff)
bgpd: lock the tenant-vrf associated with the l2-vni
The l2vni (bgpevpn instance) was maintaining a back pointer to the tenant vrf without locking it. This would result in bgp_terminate crashing as the tenant-vrf is released before the underlay-vrf (vpn->bgp_vrf->l2vnis is NULL). Call stack - BGP: [bt 3] /lib/libfrr.so.0(listnode_delete+0x11) [0x7f041c967f51] BGP: [bt 4] /usr/lib/frr/bgpd(bgp_evpn_free+0x26) [0x55e3428eea46] BGP: [bt 5] /lib/libfrr.so.0(hash_iterate+0x4a) [0x7f041c95f00a] BGP: [bt 6] /usr/lib/frr/bgpd(bgp_evpn_cleanup+0x22) [0x55e3428f0a72] BGP: [bt 7] /usr/lib/frr/bgpd(bgp_free+0x180) [0x55e342955f50] PIM: vxlan SG (*,239.1.1.111) term mroute-up del BGP: [bt 8] /usr/lib/frr/bgpd(bgp_delete+0x43a) [0x55e342959d7a] BGP: [bt 9] /usr/lib/frr/bgpd(sigint+0xee) [0x55e3428d6a5e] Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com> Reviewed-by: Vivek Venkataraman <vivek@cumulusnetworks.com> Reviewed-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions