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
- Lines: 10
- Date:
Thu Dec 28 11:31:44 1995
- Orig file:
v1.3.51/linux/net/ipv4/tcp.c
- Orig date:
Wed Dec 27 09:12:15 1995
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