]> git.puffer.fish Git - mirror/frr.git/commit
bfdd: fix detection timeout update 10189/head
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 24 Nov 2021 12:01:41 +0000 (15:01 +0300)
committermergify-bot <noreply@mergify.com>
Tue, 7 Dec 2021 11:39:47 +0000 (11:39 +0000)
commitf2e3af6f97f7f5e451e6a3a0231c8ebd6190b01f
tree39cc8c373c37a0691218d94821cad98bd82e95e9
parent26c60103df4475c1c4f73169083d347f6d04b5d4
bfdd: fix detection timeout update

Per RFC 5880 section 6.8.12, the use of a Poll Sequence is not necessary
when the Detect Multiplier is changed. Currently, we update the Detection
Timeout only when a Poll Sequence is terminated, therefore we ignore the
Detect Multiplier change if it's not accompanied with RX/TX timer change.
To fix the problem, we should update the Detection Timeout on every
received packet.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 074f76812bb1961a5d8a4e7b01d7f70f5da1978b)
bfdd/bfd.c
bfdd/bfd_packet.c