From: John Fastabend Date: Sat, 13 Sep 2014 03:04:52 +0000 (-0700) Subject: net: qdisc: use rcu prefix and silence sparse warnings X-Git-Tag: fixes-against-v3.18-rc2~81^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e5da40ae;p=pandora-kernel.git 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 Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed