summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-09-16 02:15:08 +0200
committerQuentin Young <qlyoung@nvidia.com>2020-09-16 02:15:08 +0200
commit765b07d9ff85693129bf089d723c6041a0663f81 (patch)
treea0d695a53456b3c8cfcb83682afc471d8e739735 /bgpd
parentMerge pull request #7099 from mjstapp/fix_doc_thread_rw (diff)
downloadfrr-765b07d9ff85693129bf089d723c6041a0663f81.tar.xz
frr-765b07d9ff85693129bf089d723c6041a0663f81.zip
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 <qlyoung@nvidia.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_packet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c
index 15dba3766..ee3580edf 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;
}