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

Next file: linux/Documentation/Changes
Previous file: linux/net/ipv4/tcp_input.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.10/linux/net/ipv4/tcp_output.c linux/net/ipv4/tcp_output.c
@@ -623,7 +623,7 @@
 	 * and then put it into the queue to be sent.
 	 */
 
-	buff = sock_wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC);
+	buff = alloc_skb(MAX_RESET_SIZE, GFP_ATOMIC);
 	if (buff == NULL) 
 	  	return;
 


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