From d0425960ba205518d9cdce6044f90011b3df12e1 Mon Sep 17 00:00:00 2001 From: Nishanth Aravamudan Date: Sun, 1 May 2005 23:34:57 -0700 Subject: [PATCH] --- yaml --- r: 3462 b: refs/heads/master c: a9fc25108995f1f59ee30026818d7ec2bb016fbe h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/net/slip.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index de7569f17ea5..277b4776b8f8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6835d09ad286db5df472dc91aae0a69128e7258b +refs/heads/master: a9fc25108995f1f59ee30026818d7ec2bb016fbe diff --git a/trunk/drivers/net/slip.c b/trunk/drivers/net/slip.c index c79e0ad4ba02..16363b5c6f56 100644 --- a/trunk/drivers/net/slip.c +++ b/trunk/drivers/net/slip.c @@ -1383,10 +1383,8 @@ static void __exit slip_exit(void) /* First of all: check for active disciplines and hangup them. */ do { - if (busy) { - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(HZ / 10); - } + if (busy) + msleep_interruptible(100); busy = 0; for (i = 0; i < slip_maxdev; i++) {