| XT_SOCKET_NOWILDCARD \
| XT_SOCKET_RESTORESKMARK)
-struct sock *xt_socket_lookup_slow_v4(const struct sk_buff *skb,
- const struct net_device *indev);
-struct sock *xt_socket_lookup_slow_v6(const struct sk_buff *skb,
- const struct net_device *indev);
+struct sock *xt_socket_lookup_slow_v4(struct net *net,
+ const struct sk_buff *skb,
+ const struct net_device *indev);
+struct sock *xt_socket_lookup_slow_v6(struct net *net,
+ const struct sk_buff *skb,
+ const struct net_device *indev);
#endif /* _XT_SOCKET_H */
switch (par->family) {
case NFPROTO_IPV6:
- sk = xt_socket_lookup_slow_v6(skb, par->in);
+ sk = xt_socket_lookup_slow_v6(dev_net(skb->dev), skb, par->in);
break;
case NFPROTO_IPV4:
- sk = xt_socket_lookup_slow_v4(skb, par->in);
+ sk = xt_socket_lookup_slow_v4(dev_net(skb->dev), skb, par->in);
break;
default:
return NULL;