]> 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)
committerPavel Tvrdik <pawel.tvrdik@gmail.com>
Tue, 3 May 2016 07:25:37 +0000 (09:25 +0200)
commit702e2bcef28f259e988f8df30ecf11c957c72797
treefa8d8f5db1197f237e9215620814848ccf26eab7
parent21745ff00e8fd326ceadce195e4dbddfaadad73d
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