summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-17 21:58:07 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-17 21:58:07 -0700
commit4335cd2da1e8986fa8aff21a91144d986cb0a5fc (patch)
tree7c39163199086fedc39adad6c733526658d4bc86 /net/decnet
parentdef82a1db1fdc4f861c77009e2ee86870c3743b0 (diff)
downloadlinux-4335cd2da1e8986fa8aff21a91144d986cb0a5fc.tar.bz2
pkt_sched: Simplify dev_deactivate() polling loop.
The condition under which the previous qdisc has no more references after we've attached &noop_qdisc is that both RUNNING and SCHED are both seen clear while holding the root lock. So just make specifically that check in the polling loop, instead of this overly complex "check without then check with lock held" sequence. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions