patch-1.3.52 linux/net/ipv4/tcp.c

Next file: linux/scripts/Configure
Previous file: linux/mm/swap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.51/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -5334,8 +5334,7 @@
 		 *	Find the first data byte.
 		 */
 		 
-		tcp_data_start = skb->ip_hdr + 
-				((iph->ihl + th->doff) << 2);
+		tcp_data_start = (char *) th + (th->doff << 2);
 
 		/*
 		 *	Add it to our new buffer

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this