aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hppfs/hppfs.c
diff options
context:
space:
mode:
authorNicolas Dichtel <[email protected]>2012-09-27 04:11:00 +0000
committerDavid S. Miller <[email protected]>2012-09-27 23:27:39 +0000
commitbc9259a8bae9e814fc1f775a1b3effa13e6ad330 (patch)
tree22ec65e032e8080daca4e9ac4dd5227b532a4040 /fs/hppfs/hppfs.c
parentqlcnic: Fix scheduling while atomic bug (diff)
downloadkernel-bc9259a8bae9e814fc1f775a1b3effa13e6ad330.tar.gz
kernel-bc9259a8bae9e814fc1f775a1b3effa13e6ad330.zip
inetpeer: fix token initialization
When jiffies wraps around (for example, 5 minutes after the boot, see INITIAL_JIFFIES) and peer has just been created, now - peer->rate_last can be < XRLIM_BURST_FACTOR * timeout, so token is not set to the maximum value, thus some icmp packets can be unexpectedly dropped. Fix this case by initializing last_rate to 60 seconds in the past. Signed-off-by: Nicolas Dichtel <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/hppfs/hppfs.c')
0 files changed, 0 insertions, 0 deletions