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

Next file: linux-2.4.20/net/ipv6/addrconf.c
Previous file: linux-2.4.20/net/ipv4/tcp_minisocks.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/net/ipv4/tcp_output.c linux-2.4.20/net/ipv4/tcp_output.c
@@ -1010,8 +1010,7 @@
 			skb = alloc_skb(MAX_TCP_HEADER, GFP_KERNEL);
 			if (skb)
 				break;
-			current->policy |= SCHED_YIELD;
-			schedule();
+			yield();
 		}
 
 		/* Reserve space for headers and prepare control bits. */

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