diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-16 03:04:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-18 02:18:37 +0200 |
commit | 9dff2c966a0a79a4222553a851f17e679fc28a43 (patch) | |
tree | d86e10d6bf21cfcefd4f6eeaa783d24563456d8f /net/ipv6/ndisc.c | |
parent | netfilter: Pass struct net into the netfilter hooks (diff) | |
download | linux-9dff2c966a0a79a4222553a851f17e679fc28a43.tar.xz linux-9dff2c966a0a79a4222553a851f17e679fc28a43.zip |
netfilter: Use nf_hook_state.net
Instead of saying "net = dev_net(state->in?state->in:state->out)"
just say "state->net". As that information is now availabe,
much less confusing and much less error prone.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ndisc.c')
0 files changed, 0 insertions, 0 deletions