summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_format.c
diff options
context:
space:
mode:
authorAlexander Skorichenko <askorichenko@netgate.com>2021-10-14 13:09:02 +0300
committerMatthew Smith <mgsmith@netgate.com>2021-10-19 13:31:40 +0000
commit0dfad21e88a5af3d429af5b429f7a7b5a9af7c04 (patch)
treeed96218cc3d7de8df61811f10dff82072a11d0ce /src/vnet/interface_format.c
parenta4ba8da26f053db714d77943c01090e968724273 (diff)
bfd: fix desired_min_tx_nsec update
Type: fix Currently, the change in desired_min_tx value initiated locally doesn't result in actual update of the transmission interval. bfd_session_t structure has two fields for each of protocol's local time parameters desired_min_tx, required_min_rx In a case of a parameter update, "config_" prefixed fields store new values sent to remote bs.config_desired_min_tx_nsec, bs.config_required_min_rx_nsec Those prefixed "effective_", keep old values, still in charge, until new ones are being negotiated between peers: bs.effective_desired_min_tx_nsec, bs.effective_required_min_rx_nsec Currently, upon termination of the Poll Sequence (negotiation) only bfd_set_effective_required_min_rx() is called to update effective RX value. TX value remains unchanged. With this fix, add a call to bfd_set_effective_desired_min_tx() to set new, acknowledged TX value in effect. Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com> Change-Id: I80b6746533839c9572598f1ad9dabb33e621a525
Diffstat (limited to 'src/vnet/interface_format.c')
0 files changed, 0 insertions, 0 deletions