aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHangbin Liu <[email protected]>2020-05-28 07:15:13 +0000
committerDavid S. Miller <[email protected]>2020-05-29 23:56:53 +0000
commit96d10d5b192e7f064457fd957e6a3ce8c2dce4b4 (patch)
treebf1184fe334ca092ebf06a492c882d29db7e2251 /tools/perf/scripts/python
parentMerge tag 'mlx5-fixes-2020-05-28' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-96d10d5b192e7f064457fd957e6a3ce8c2dce4b4.tar.gz
kernel-96d10d5b192e7f064457fd957e6a3ce8c2dce4b4.zip
neigh: fix ARP retransmit timer guard
In commit 19e16d220f0a ("neigh: support smaller retrans_time settting") we add more accurate control for ARP and NS. But for ARP I forgot to update the latest guard in neigh_timer_handler(), then the next retransmit would be reset to jiffies + HZ/2 if we set the retrans_time less than 500ms. Fix it by setting the time_before() check to HZ/100. IPv6 does not have this issue. Reported-by: Jianwen Ji <[email protected]> Fixes: 19e16d220f0a ("neigh: support smaller retrans_time settting") Signed-off-by: Hangbin Liu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions