]> git.puffer.fish Git - mirror/frr.git/commit
bfdd: fix detection timeout update 10188/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:29 +0000 (11:39 +0000)
commitb32a369eb95bcc0f8181d552fc1c64b3b1e135d6
tree6eb9268df0a442f6573e8406d720a9e1c54b4fc0
parent085e51c68e6b8e73e38fcd4a8071463717e8b5b3
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