netfilter: x_tables: Pass struct net in xt_action_param
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 18 Sep 2015 19:32:58 +0000 (14:32 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 18 Sep 2015 19:58:14 +0000 (21:58 +0200)
commit156c196f6038610770588a708b9e0f7df2ead74a
tree6943a22200b7548ea957ac1305ea9fbed8f6be05
parent6aa187f21ca2d8ade791f01fd8fab908b1f27673
netfilter: x_tables: Pass struct net in xt_action_param

As xt_action_param lives on the stack this does not bloat any
persistent data structures.

This is a first step in making netfilter code that needs to know
which network namespace it is executing in simpler.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/x_tables.h
include/net/netfilter/nf_tables.h
net/bridge/netfilter/ebtables.c
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
net/sched/act_ipt.c
net/sched/em_ipset.c