patch-2.1.127 linux/net/appletalk/ddp.c

Next file: linux/net/core/dev.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -383,9 +383,8 @@
 						/*
 						 * Defer 1/10th
 						 */
-						current->timeout = jiffies + (HZ/10);
 						current->state = TASK_INTERRUPTIBLE;
-						schedule();
+						schedule_timeout(HZ/10);
 						if(atif->status & ATIF_PROBE_FAIL)
 							break;
 					}

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