]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
netfilter: remove nf_ct_is_untracked
[mirror_ubuntu-artful-kernel.git] / net / ipv4 / netfilter / nf_nat_l3proto_ipv4.c
index 6f5e8d01b876933a68e5f6cf8b2a48f8c4e17262..e3bfa6a169f004c7e505641bb1b79fac56bf6675 100644 (file)
@@ -264,10 +264,6 @@ nf_nat_ipv4_fn(void *priv, struct sk_buff *skb,
        if (!ct)
                return NF_ACCEPT;
 
-       /* Don't try to NAT if this packet is not conntracked */
-       if (nf_ct_is_untracked(ct))
-               return NF_ACCEPT;
-
        nat = nf_ct_nat_ext_add(ct);
        if (nat == NULL)
                return NF_ACCEPT;