diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2014-01-22 04:08:09 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2014-01-22 04:08:09 +0000 |
commit | f3cd819dfb2fecd04e97820e3566347dbbd21ff7 (patch) | |
tree | eaa38001d97848d1949a1faf7f60959c39d56c22 /sys | |
parent | 2fb2d7b7d0890ef503514eff4d95ede84ea5cd73 (diff) |
Fix a bug where stale routes were not properly flushed on sessions announcing
the graceful restart capability. The bug is triggered when a router does not
reconnect before the graceful restart timeout fires.
This removes the checks for the CAPA_GR_FORWARD flag in the timeout and
IMSG_SESSION_RESTARTED handler.
CAPA_GR_RESTARTING is indicating that bgpd is currently doing a graceful
restart for this neighbor and therefore the SE must issue a flush of stale
routes in some way.
CAPA_GR_FORWARD on the other hand is only indicating that the neighbor
actually preserved the forwarding state which is too strict for the timeout
handler.
Tested by sthen@, florian@ and benno@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions