]> git.ipfire.org Git - thirdparty/bird.git/commit
Fixes a tricky bug in the pipe protocol.
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 11 Feb 2010 21:27:06 +0000 (22:27 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 11 Feb 2010 21:27:06 +0000 (22:27 +0100)
commitc83876265eeae3591bfe90375503728e633cb807
treeee5302b85bf3d9dc1da67a9d59ca9eb4bbfd83f9
parenta2ea1bac601ca79946e2a215dac9427c526cedab
Fixes a tricky bug in the pipe protocol.

When uncofiguring the pipe and the peer table, the peer table was
unlocked when pipe protocol state changed to down/flushing and not to
down/hungry. This leads to the removal of the peer table before
the routes from the pipe were flushed.

The fix leads to adding some pipe-specific hacks to the nest,
but this seems inevitable.
nest/proto.c
nest/protocol.h
nest/rt-table.c
proto/pipe/pipe.c