patch-2.4.20 linux-2.4.20/drivers/net/slip.c

Next file: linux-2.4.20/drivers/net/smc-ultra.c
Previous file: linux-2.4.20/drivers/net/sk98lin/skge.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/net/slip.c linux-2.4.20/drivers/net/slip.c
@@ -1393,10 +1393,8 @@
 		/* First of all: check for active disciplines and hangup them.
 		 */
 		do {
-			if (busy) {
-				current->counter = 0;
-				schedule();
-			}
+			if (busy)
+				yield();
 
 			busy = 0;
 			local_bh_disable();

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