John Fastabend 46e5da40ae 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>
2014-09-13 12:30:25 -04:00
..
2011-01-19 23:31:12 -08:00
2013-10-18 16:23:06 -04:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2014-01-06 15:13:01 -05:00
2014-01-06 15:13:01 -05:00
2014-08-19 10:58:44 -07:00
2014-06-05 00:49:51 -07:00
2012-04-01 18:11:37 -04:00
2014-06-05 00:49:51 -07:00
2014-06-05 00:49:51 -07:00
2014-02-13 18:29:58 -05:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2014-09-09 17:34:41 -07:00