From 3ebfc577bc41d35be7ab832556f795b896431f79 Mon Sep 17 00:00:00 2001 From: Nishanth Aravamudan Date: Wed, 22 Jun 2005 22:11:44 -0700 Subject: [PATCH] --- yaml --- r: 2836 b: refs/heads/master c: 285b3afefacff14bc98e5754b8b48a0a2b42f0df h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/appletalk/aarp.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index ff80e2a99c6a..80f6efaef84f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7abaa27c1c54208bd76fa8bae55839c034aebfb2 +refs/heads/master: 285b3afefacff14bc98e5754b8b48a0a2b42f0df diff --git a/trunk/net/appletalk/aarp.c b/trunk/net/appletalk/aarp.c index 10d040461021..c34614ea5fce 100644 --- a/trunk/net/appletalk/aarp.c +++ b/trunk/net/appletalk/aarp.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -462,8 +463,7 @@ void aarp_probe_network(struct atalk_iface *atif) aarp_send_probe(atif->dev, &atif->address); /* Defer 1/10th */ - current->state = TASK_INTERRUPTIBLE; - schedule_timeout(HZ / 10); + msleep(100); if (atif->status & ATIF_PROBE_FAIL) break; @@ -510,9 +510,8 @@ int aarp_proxy_probe_network(struct atalk_iface *atif, struct atalk_addr *sa) aarp_send_probe(atif->dev, sa); /* Defer 1/10th */ - current->state = TASK_INTERRUPTIBLE; write_unlock_bh(&aarp_lock); - schedule_timeout(HZ / 10); + msleep(100); write_lock_bh(&aarp_lock); if (entry->status & ATIF_PROBE_FAIL)