]> git.hungrycats.org Git - linux/commitdiff
[IPV4]: ip_copy_metadata must copy the nfcache field.
authorJulian Anastasov <ja@ssi.bg>
Sat, 11 Oct 2003 04:59:57 +0000 (21:59 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Sat, 11 Oct 2003 04:59:57 +0000 (21:59 -0700)
net/ipv4/ip_output.c

index eaf463c2ff70e506391a848f36c5d9291eaf802e..bb3b555f3672f7f82ae2b3a173a65c3c15296ff9 100644 (file)
@@ -412,6 +412,7 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
 #endif
 #ifdef CONFIG_NETFILTER
        to->nfmark = from->nfmark;
+       to->nfcache = from->nfcache;
        /* Connection association is same as pre-frag packet */
        to->nfct = from->nfct;
        nf_conntrack_get(to->nfct);