linux-hardened/net
David S. Miller b9a3b1102b pkt_sched: Fix queue quiescence testing in dev_deactivate().
Based upon discussions with Jarek P. and Herbert Xu.

First, we're testing the wrong qdisc.  We just reset the device
queue qdiscs to &noop_qdisc and checking it's state is completely
pointless here.

We want to wait until the previous qdisc that was sitting at
the ->qdisc pointer is not busy any more.  And that would be
->qdisc_sleeping.

Because of how we propagate the samples qdisc pointer down into
qdisc_run and friends via per-cpu ->output_queue and netif_schedule,
we have to wait also for the __QDISC_STATE_SCHED bit to clear as
well.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-13 15:18:38 -07:00
..
9p
802
8021q
appletalk
atm
ax25
bluetooth [Bluetooth] Add parameters to control BNEP header compression 2008-08-07 22:26:54 +02:00
bridge
can
core pktgen: prevent pktgen from using bad tx queue 2008-08-13 15:16:00 -07:00
dccp dccp: change L/R must have at least one byte in the dccpsf_val field 2008-08-13 13:48:39 -07:00
decnet
econet
ethernet
ieee80211
ipv4 Merge branch 'stealer/ipvs/for-davem' of git://git.stealer.net/linux-2.6 2008-08-11 18:04:35 -07:00
ipv6 ipv6: Fix OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_route_output, rt6_fill_node+0x175 2008-08-13 01:58:57 -07:00
ipx
irda
iucv
key
lapb
llc
mac80211 mac80211: keep mesh ifaces in allmulti mode 2008-08-07 09:49:04 -04:00
netfilter
netlabel
netlink
netrom
packet
rfkill
rose
rxrpc net/rxrpc: Use an IS_ERR test rather than a NULL test 2008-08-13 02:40:48 -07:00
sched pkt_sched: Fix queue quiescence testing in dev_deactivate(). 2008-08-13 15:18:38 -07:00
sctp
sunrpc
tipc net/tipc/subscr.c: don't use ___constant_swab32 2008-08-13 02:32:06 -07:00
unix
wanrouter
wireless wext: Send name on events 2008-08-13 02:39:56 -07:00
x25
xfrm xfrm: remove unnecessary variable in xfrm_output_resume() 2nd try 2008-08-13 13:35:37 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE