[NETFILTER]: xt_hashlimit: fix limit off-by-one
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Aug 2006 01:06:02 +0000 (18:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2006 01:06:02 +0000 (18:06 -0700)
commit1c7628bd7a458faf7c96ef521f6d3a5ea9b106b8
tree45c4a21ee032a813df08dd4e4dc47b0a14fa571d
parent97c802a113989800430a981b6f36b14c62163d37
[NETFILTER]: xt_hashlimit: fix limit off-by-one

Hashlimit doesn't account for the first packet, which is inconsistent
with the limit match.

Reported by ryan.castellucci@gmail.com, netfilter bugzilla #500.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ipt_hashlimit.c