[NETFILTER]: xt_hashlimit should use time_after_eq()
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 12 Dec 2007 19:11:28 +0000 (11:11 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 14 Dec 2007 21:54:36 +0000 (13:54 -0800)
commitcbebc51f7b77d26ec23145d6ef22ac2b209f7955
treeddbe440a884612cf1c957602749fb8994b1c3e87
parent9ab4c954ce2b2b3c485bee7e425fda05946893be
[NETFILTER]: xt_hashlimit should use time_after_eq()

In order to avoid jiffies wraparound and its effect, special care must
be taken
when doing comparisons ...

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_hashlimit.c