]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv6/netfilter/ip6t_SYNPROXY.c
netfilter: x_tables: Use par->net instead of computing from the passed net devices
[mirror_ubuntu-artful-kernel.git] / net / ipv6 / netfilter / ip6t_SYNPROXY.c
index 4c9f3e79d75f1185d5ccec41184fec1b9ae4f83f..41451809b37cde352f530729eae30b015f9a5c2c 100644 (file)
@@ -275,7 +275,7 @@ static unsigned int
 synproxy_tg6(struct sk_buff *skb, const struct xt_action_param *par)
 {
        const struct xt_synproxy_info *info = par->targinfo;
-       struct synproxy_net *snet = synproxy_pernet(dev_net(par->in));
+       struct synproxy_net *snet = synproxy_pernet(par->net);
        struct synproxy_options opts = {};
        struct tcphdr *th, _th;