netfilter: xtables: add struct xt_mtchk_param::net
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 18 Jan 2010 07:21:13 +0000 (08:21 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 18 Jan 2010 07:21:13 +0000 (08:21 +0100)
Some complex match modules (like xt_hashlimit/xt_recent) want netns
information at constructor and destructor time. We propably can play
games at match destruction time, because netns can be passed in object,
but I think it's cleaner to explicitly pass netns.

Add ->net, make sure it's set from ebtables/iptables/ip6tables code.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found