aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v1.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2021-09-24 03:18:37 +0000
committerDavid S. Miller <davem@davemloft.net>2021-09-24 14:18:34 +0100
commitacde891c243c1ed85b19d4d5042bdf00914f5739 (patch)
treebcbf4781a2904c9271e215676c4861c63354a9b4 /drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste_v1.c
parenttcp: tracking packets with CE marks in BW rate sample (diff)
downloadlinux-dev-acde891c243c1ed85b19d4d5042bdf00914f5739.tar.xz
linux-dev-acde891c243c1ed85b19d4d5042bdf00914f5739.zip
rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
Directly using _usecs_to_jiffies() might be unsafe, so it's better to use usecs_to_jiffies() instead. Because we can see that the result of _usecs_to_jiffies() could be larger than MAX_JIFFY_OFFSET values without the check of the input. Fixes: c410bf01933e ("Fix the excessive initial retransmission timeout") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions