]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Another hash_get crash fix
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 4 Apr 2016 16:44:46 +0000 (12:44 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 4 Apr 2016 16:44:46 +0000 (12:44 -0400)
commit66e373aec05c7f3353adbc36115b930b9b2ebf8c
treee02745c08c479ad62e53f1969c872650fcaf708d
parent77c489986edeaa107c1b201d879bf599fd7be2f6
bgpd: Another hash_get crash fix

Basically when modifying the peer->su, we must *always*
release the hash and then re-install it, else
we will cause crashes when we go to look up data
that is not going to be there.

Ticket: CM-10212
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
bgpd/bgp_network.c