netfilter: xtables: avoid pointer to self

Commit 784544739a (netfilter: iptables:
lock free counters) broke a number of modules whose rule data referenced
itself. A reallocation would not reestablish the correct references, so
it is best to use a separate struct that does not fall under RCU.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Jan Engelhardt 2009-03-16 15:35:29 +01:00 • committed by Patrick McHardy
commit acc738fec0
6 changed files with 88 additions and 31 deletions