]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ATALK] aarp: replace schedule_timeout() with msleep()
authorNishanth Aravamudan <nacc@us.ibm.com>
Thu, 23 Jun 2005 05:11:44 +0000 (22:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jun 2005 05:11:44 +0000 (22:11 -0700)
commit285b3afefacff14bc98e5754b8b48a0a2b42f0df
tree3294a65cafb6003455d9280ff630191d97a25e64
parent7abaa27c1c54208bd76fa8bae55839c034aebfb2
[ATALK] aarp: replace schedule_timeout() with msleep()

From: Nishanth Aravamudan <nacc@us.ibm.com>

Use msleep() instead of schedule_timeout() to guarantee the task
delays as expected. The current code is not wrong, but it does not account for
early return due to signals, so I think msleep() should be appropriate.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/aarp.c