]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: remove vrf->iflist deleted to avoid a crash
authorDon Slice <dslice@cumulusnetworks.com>
Fri, 10 Jun 2016 13:58:03 +0000 (06:58 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Fri, 10 Jun 2016 14:12:17 +0000 (07:12 -0700)
commit56f70e170dd49aa10e08d44cf200753baa7a4548
treeed662e7d4c3df36996506a0793b586cd9a6ae58e
parenteb7958b97cf7b364bb4ac3ba32896af510110630
bgpd: remove vrf->iflist deleted to avoid a crash

Ticket: CM-11327
Signed-off-by: Don Slice
Reviewed-by: Donald Sharp
Testing Done: Manual testing, bgp-min, vrf-min, bgp-smoke, vrf-smoke all successful

When bgp was configured in a vrf and then deleted, the vrf->iflist
was being deleted from the vrf.  Since the vrf itself was not deleted,
it was assumed in later calls that the vrf->iflist was still there
and when it was referenced, the crash occurred.
bgpd/bgpd.c