diff options
| author | 2021-10-28 15:13:45 +0800 | |
|---|---|---|
| committer | 2021-10-28 13:04:28 +0100 | |
| commit | c4a146c7cf5e8ad76231523b174d161bf152c6e7 (patch) | |
| tree | e85ca4db22596f44c3527f78e3f3001b1ae8e4dc /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | nfp: bpf: relax prog rejection for mtu check through max_pkt_offset (diff) | |
| download | linux-dev-c4a146c7cf5e8ad76231523b174d161bf152c6e7.tar.xz linux-dev-c4a146c7cf5e8ad76231523b174d161bf152c6e7.zip | |
net/smc: Fix smc_link->llc_testlink_time overflow
The value of llc_testlink_time is set to the value stored in
net->ipv4.sysctl_tcp_keepalive_time when linkgroup init. The value of
sysctl_tcp_keepalive_time is already jiffies, so we don't need to
multiply by HZ, which would cause smc_link->llc_testlink_time overflow,
and test_link send flood.
Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Reviewed-by: Wen Gu <guwen@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
