]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Fix bug in incoming connection handling
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 11 Feb 2016 15:38:28 +0000 (16:38 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 11 Feb 2016 15:38:28 +0000 (16:38 +0100)
commit487c6961cb29046dbe9560262e3e742e38691b83
tree924075b0645eac572b1468397bd1e8413c47d991
parent52e21323b6c49af9d076586241451973a7d1e7c6
BGP: Fix bug in incoming connection handling

When a BGP session was established by an outgoing connection with
Graceful Restart behavior negotiated, a pending incoming connection in
OpenSent state, and another incoming connection was received, then the
outgoing connection (and whole BGP session) was closed, but the old
incoming connection was just overwritten by the new one. That later
caused a crash when the hold timer from the old connection fired.
proto/bgp/bgp.c