]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: peer->bgp must be non NULL
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 20 Mar 2018 23:02:19 +0000 (19:02 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 20 Mar 2018 23:09:06 +0000 (19:09 -0400)
commit5410015a79405ea53517257d443870f9f8bcf9b9
tree4871f092755d0b5d46a0ca9905aa5c86f5be02f2
parentc8f573499a5dac1a212256bb7d172a486804ac63
bgpd: peer->bgp must be non NULL

We lock and set peer->bgp at peer creation and only
remove it at deletion.  Therefore these tests are
not needed.

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