Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2836
b: refs/heads/master
c: 285b3af
h: refs/heads/master
v: v3
  • Loading branch information
Nishanth Aravamudan authored and David S. Miller committed Jun 23, 2005
1 parent 31b6a3a commit 3ebfc57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7abaa27c1c54208bd76fa8bae55839c034aebfb2
refs/heads/master: 285b3afefacff14bc98e5754b8b48a0a2b42f0df
7 changes: 3 additions & 4 deletions trunk/net/appletalk/aarp.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <net/datalink.h>
#include <net/psnap.h>
#include <linux/atalk.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3ebfc57

Please sign in to comment.