diff options
author | Hoang Le <hoang.h.le@dektech.com.au> | 2022-03-21 07:22:29 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-03-22 12:50:46 +0300 |
commit | 6a7d8cff4a3301087dd139293e9bddcf63827282 (patch) | |
tree | c95f9d0d97ad7863775a9c0df12b24da25adcfb2 /include/uapi/linux/hsr_netlink.h | |
parent | 6b3c74550224c3be24c4cf6ab8c333602b458bff (diff) | |
download | linux-6a7d8cff4a3301087dd139293e9bddcf63827282.tar.xz |
tipc: fix the timer expires after interval 100ms
In the timer callback function tipc_sk_timeout(), we're trying to
reschedule another timeout to retransmit a setup request if destination
link is congested. But we use the incorrect timeout value
(msecs_to_jiffies(100)) instead of (jiffies + msecs_to_jiffies(100)),
so that the timer expires immediately, it's irrelevant for original
description.
In this commit we correct the timeout value in sk_reset_timer()
Fixes: 6787927475e5 ("tipc: buffer overflow handling in listener socket")
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
Link: https://lore.kernel.org/r/20220321042229.314288-1-hoang.h.le@dektech.com.au
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi/linux/hsr_netlink.h')
0 files changed, 0 insertions, 0 deletions