patch-2.1.28 linux/net/ipv4/tcp_output.c

Next file: linux/net/ipv4/tcp_timer.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.27/linux/net/ipv4/tcp_output.c linux/net/ipv4/tcp_output.c
@@ -27,6 +27,8 @@
  *				:	AF independence
  *
  *		Linus Torvalds	:	send_delayed_ack
+ *		David S. Miller	:	Charge memory using the right skb
+ *					during syn/ack processing.
  *
  */
 
@@ -905,7 +907,7 @@
 	skb->when = jiffies;
 	buff = skb_clone(skb, GFP_ATOMIC);
 
-	skb_set_owner_w(skb, sk);
+	skb_set_owner_w(buff, sk);
 
 	tp->af_specific->queue_xmit(buff);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov