]> git.puffer.fish Git - mirror/frr.git/commit
[bgpd] Bug #302 fixes. ClearingCompleted event gets flushed, leaving peers stuck...
authorPaul Jakma <paul.jakma@sun.com>
Sun, 15 Oct 2006 23:39:59 +0000 (23:39 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Sun, 15 Oct 2006 23:39:59 +0000 (23:39 +0000)
commitdcdf399fbc7420d3edc230c9646f720825fcecda
treed4712072c844fff67e49e44fc9503d0b11f8062f
parent876b8be0ab24721e8f94d47dde022563f76db992
[bgpd] Bug #302 fixes. ClearingCompleted event gets flushed, leaving peers stuck in Clearing.

2006-10-14 Paul Jakma <paul.jakma@sun.com>

* bgp_fsm.h: Remove BGP_EVENT_FLUSH_ADD, dangerous and not
  needed.
* bgp_fsm.c: (bgp_stop) Move BGP_EVENT_FLUSH to the top of the
  of the function, otherwise it could flush a ClearingCompleted
          event, bug #302.
* bgp_packet.c: Replace all BGP_EVENT_FLUSH_ADD with
  BGP_EVENT_ADD, fixing bug #302.
bgpd/ChangeLog
bgpd/bgp_fsm.c
bgpd/bgp_fsm.h
bgpd/bgp_packet.c