summaryrefslogtreecommitdiff
path: root/include/linux/netfilter_ingress.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-15 20:03:50 -0500
committerDavid S. Miller <davem@davemloft.net>2015-09-17 17:18:32 -0700
commitb11b1f652dccde707d568f4012b01a8ec5bd5f57 (patch)
tree900d4a5218c65f14c8aa3bee0ec2c914b35bb040 /include/linux/netfilter_ingress.h
parentfb884253a919148677c5bf347ffb62c539370440 (diff)
netfilter: Store net in nf_hook_state
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter_ingress.h')
-rw-r--r--include/linux/netfilter_ingress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter_ingress.h b/include/linux/netfilter_ingress.h
index cb0727fe2b3d..187feabe557c 100644
--- a/include/linux/netfilter_ingress.h
+++ b/include/linux/netfilter_ingress.h
@@ -17,7 +17,7 @@ static inline int nf_hook_ingress(struct sk_buff *skb)
nf_hook_state_init(&state, &skb->dev->nf_hooks_ingress,
NF_NETDEV_INGRESS, INT_MIN, NFPROTO_NETDEV, NULL,
- skb->dev, NULL, NULL);
+ skb->dev, NULL, dev_net(skb->dev), NULL);
return nf_hook_slow(skb, &state);
}