diff options
author | Eric Dumazet <edumazet@google.com> | 2016-06-09 16:45:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-09 22:28:37 +0200 |
commit | 52fbb2907988aa0583c6d9d53a56aee090b2df7e (patch) | |
tree | d15d8d64e2160d72224285158cac6e1e8b343b04 /drivers/net/team | |
parent | netvsc: get rid of completion timeouts (diff) | |
download | linux-52fbb2907988aa0583c6d9d53a56aee090b2df7e.tar.xz linux-52fbb2907988aa0583c6d9d53a56aee090b2df7e.zip |
net: sched: fix qdisc->running lockdep annotations
1) qdisc_run_begin() is really using the equivalent of a trylock.
Instead of using write_seqcount_begin(), use a combination of
raw_write_seqcount_begin() and correct lockdep annotation.
2) sch_direct_xmit() should use regular spin_lock(root_lock)
Fixes: f9eb8aea2a1e ("net_sched: transform qdisc running bit into a seqcount")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team')
0 files changed, 0 insertions, 0 deletions