From: Quentin Young Date: Wed, 16 Sep 2020 00:15:08 +0000 (-0400) Subject: bgpd: remove extra hold-timer reset X-Git-Tag: base_7.6~550^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=765b07d9ff85693129bf089d723c6041a0663f81;p=mirror%2Ffrr.git bgpd: remove extra hold-timer reset Handler function doesn't need to reset the hold timer, this is done during the FSM update. Signed-off-by: Quentin Young --- diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index 15dba37667..ee3580edf1 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -1775,10 +1775,6 @@ static int bgp_update_receive(struct peer *peer, bgp_size_t size) peer->update_time = bgp_clock(); - /* Rearm holdtime timer */ - BGP_TIMER_OFF(peer->t_holdtime); - bgp_timer_set(peer); - return Receive_UPDATE_message; }