]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Actually release peer from bgp_peer hash
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 May 2018 16:56:21 +0000 (12:56 -0400)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 4 Jun 2018 11:16:29 +0000 (13:16 +0200)
commitd12b745c9080e283e66140de08d34282d588a885
treee64368907b29bb79dc39b7bc3550d94a0e17dfb2
parent3ad00234f734ec477c80799fd67f5b7b1b87c650
bgpd: Actually release peer from bgp_peer hash

When we are determining the state of a peer, we sometimes
detect that we should update the peer->su.  The bgp->peer_hash
keeps a hash of peers based upon the peer->su.  This requires
us to release the stored value before we re-insert it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgpd.c