]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: BGP daemon crashed when a L2VNI is unconfigured 3367/head
authorKishore Aramalla <karamalla@vmware.com>
Wed, 21 Nov 2018 00:15:56 +0000 (16:15 -0800)
committerKishore Aramalla <karamalla@vmware.com>
Wed, 21 Nov 2018 00:15:56 +0000 (16:15 -0800)
commit1b7db1df439ca84135fab5d9ea1c62ec10059009
tree2af812c06ab018ef1c9a4d3e681b60b66baaffd7
parent8e427656660c9d60a960f3e9ab077e3901b31a36
bgpd: BGP daemon crashed when a L2VNI is unconfigured

When a VNI is unconfigured it deletes all of its import and export
route-targets.  There is a export route-target link list and import
route-target linked list.  There are redudant loops in  the
route-target deletion code.  In the first iteration it deleted the
route-target and freed the RT node, but not list node.
In the 2nd iteration it tries to free the RT node again, resulting in
 the double free of RT node.

Signed-off-by: "Kishore Aramalla karamallavmware.com"
bgpd/bgp_evpn_vty.c