]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_hashlimit fix
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 24 Feb 2009 14:30:29 +0000 (15:30 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 24 Feb 2009 14:30:29 +0000 (15:30 +0100)
commit29222be30427497ec9c72f376a629ed16ec22adf
tree4a5f0558d780f938802e55e729f29da7987e4ca5
parent01772fcffc6a67b4b6d8486c57422ccd85b755c0
netfilter: xt_hashlimit fix

Commit 8abf527013d47996012d06404d895960d0181a0b
(netfilter: iptables: lock free counters) broke xt_hashlimit netfilter module :

This module was storing a pointer inside its xt_hashlimit_info, and this pointer
is not relocated when we temporarly switch tables (iptables -L).

This hack is not not needed at all (probably a leftover from
ancient time), as each cpu should and can access to its own copy.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_hashlimit.c