]> err.no Git - linux-2.6/commit
[NETFILTER]: xt_limit: don't reset state on unrelated rule updates
authorPatrick McHardy <kaber@trash.net>
Wed, 20 Sep 2006 18:59:25 +0000 (11:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:50 +0000 (15:19 -0700)
commit57dab5d0bfee21663ed20222b4cedeb0655ba1f3
treeadb83bae14ed15f1dd196577c4ab1462325bc8df
parentecb70c95c45ece0935b076295388267f6d8db65c
[NETFILTER]: xt_limit: don't reset state on unrelated rule updates

The limit match reinitializes its state whenever the ruleset changes,
which means it will forget about previously used credits.

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