kernel-ark/net
David S. Miller 6192b54b84 [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>
2005-07-28 12:12:58 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge
core [NET]: Fix busy waiting in dev_close(). 2005-07-28 12:12:58 -07:00
decnet
econet
ethernet
ipv4
ipv6
ipx
irda
key
lapb
llc
netlink
netrom
packet
rose
rxrpc
sched
sctp
sunrpc
unix
wanrouter
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE