patch-2.3.50 linux/net/ipv4/ip_output.c

Next file: linux/net/netsyms.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/net/ipv4/ip_output.c linux/net/ipv4/ip_output.c
@@ -5,7 +5,7 @@
  *
  *		The Internet Protocol (IP) output module.
  *
- * Version:	$Id: ip_output.c,v 1.80 2000/02/09 11:16:41 davem Exp $
+ * Version:	$Id: ip_output.c,v 1.81 2000/03/06 03:48:01 davem Exp $
  *
  * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
  *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -889,6 +889,12 @@
 			iph->frag_off |= htons(IP_MF);
 		ptr += len;
 		offset += len;
+
+#ifdef CONFIG_NETFILTER
+		/* Connection association is same as pre-frag packet */
+		skb2->nfct = skb->nfct;
+		nf_conntrack_get(skb2->nfct);
+#endif
 
 		/*
 		 *	Put this fragment into the sending queue.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)