diff options
author | David S. Miller <davem@davemloft.net> | 2005-07-28 12:12:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-28 12:12:58 -0700 |
commit | 6192b54b845ed05cb838f86ca588cc625c703a09 (patch) | |
tree | b78a56cb70fe36f145821ac3c699abf3dc627256 /net/sched/simple.c | |
parent | 2ac6608c41f8c45371ea9dddae7f99bc2c15d5cf (diff) | |
download | linux-3.10-6192b54b845ed05cb838f86ca588cc625c703a09.tar.gz linux-3.10-6192b54b845ed05cb838f86ca588cc625c703a09.tar.bz2 linux-3.10-6192b54b845ed05cb838f86ca588cc625c703a09.zip |
[NET]: Fix busy waiting in dev_close().
If the current task has signal_pending(), the loop we have
to wait for the __LINK_STATE_RX_SCHED bit to clear becomes
a pure busy-loop.
Fixed by using msleep() instead of the hand-crafted version.
Noticed by Andrew Morton.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/simple.c')
0 files changed, 0 insertions, 0 deletions