Re: [PATCH next 28/30] netfilter: Pass struct net into the netfilter hooks

2015-09-17 Thread Nicolas Dichtel
Le 16/09/2015 03:04, Eric W. Biederman a écrit : Pass a network namespace parameter into the netfilter hooks. At the call site of the netfilter hooks the path a packet is taking through the network stack is well known which allows the network namespace to be easily and reliabily. This allows th

[PATCH next 28/30] netfilter: Pass struct net into the netfilter hooks

2015-09-15 Thread Eric W. Biederman
Pass a network namespace parameter into the netfilter hooks. At the call site of the netfilter hooks the path a packet is taking through the network stack is well known which allows the network namespace to be easily and reliabily. This allows the replacement of magic code like "dev_net(state->in