aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_dsmark.c
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2014-09-12 20:04:52 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-13 12:29:59 -0400
commitb26b0d1e8b1de83bbce81c8d119260ac91031ebd (patch)
treecc3986c52025d252c2a063053692595e60c80e13 /net/sched/sch_dsmark.c
parentsunvnet: Avoid sending superfluous LDC messages. (diff)
downloadlinux-dev-b26b0d1e8b1de83bbce81c8d119260ac91031ebd.tar.xz
linux-dev-b26b0d1e8b1de83bbce81c8d119260ac91031ebd.zip
net: qdisc: use rcu prefix and silence sparse warnings
Add __rcu notation to qdisc handling by doing this we can make smatch output more legible. And anyways some of the cases should be using rcu_dereference() see qdisc_all_tx_empty(), qdisc_tx_chainging(), and so on. Also *wake_queue() API is commonly called from driver timer routines without rcu lock or rtnl lock. So I added rcu_read_lock() blocks around netif_wake_subqueue and netif_tx_wake_queue. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions