]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: fix shutdown crash when dynamic peer is just connected
authorMaria Matejka <mq@ucw.cz>
Mon, 13 Jan 2025 21:15:52 +0000 (22:15 +0100)
committerMaria Matejka <mq@ucw.cz>
Mon, 13 Jan 2025 21:15:52 +0000 (22:15 +0100)
commitd13c9d378f257b499e9b7a633cffa8fa70a0bb68
treed4764d9bd66c170c1fee21511b40a85c3585c81a
parent77582da162d19af1073cbe56c7884b7e758b6a7a
BGP: fix shutdown crash when dynamic peer is just connected

In some edge cases, the dynamic BGP starts but doesn't yet pick up
the socket from the peer, when it gets shut down, typically on
a complete shutdown. Fixing this to just close the socket, not assert
it being already picked up.
proto/bgp/bgp.c