]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Always restart timer from scratch in OpenConfirm/Established
authorDonald Sharp <sharpd@nvidia.com>
Thu, 16 Mar 2023 23:19:04 +0000 (19:19 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 16 Mar 2023 23:23:38 +0000 (19:23 -0400)
commitaa554d4b656cd01c1df69d7fb9eb5f9aead202a2
treefb82456b685915e79cd83ad674cacacf6513c66b
parent090109617ef3e010345ce6e1a2e422f43f0bbdcd
bgpd: Always restart timer from scratch in OpenConfirm/Established

Imagine this scenario:

A peer has very large hold/keepalive timers of 600/200.  This peer is
using the DataCenter default time.  As such the open will cause
the t_holdtime to be negotiated to 600 seconds.  Now also imagine
that both peers are in update-delay.  If we do not restart the
timers and both peers are in Update Delay, we will continously
reset the peer because the hold time will be hit( since the peer
is not sending us any data ).

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_fsm.c