commit | a83d8e8d099fc373a5ca7112ad08c553bb2c180f | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Jan 18 08:21:13 2010 +0100 |
committer | Patrick McHardy <kaber@trash.net> | Mon Jan 18 08:21:13 2010 +0100 |
tree | 19b7bbeb34ae718f5bac20d1ab42d6280bb20665 | |
parent | a1004d8e3d463012f231bab104325ecb15637f78 [diff] |
netfilter: xtables: add struct xt_mtchk_param::net 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>