diff options
| author | John Fastabend <[email protected]> | 2014-09-13 03:04:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-09-13 16:30:25 +0000 |
| commit | 46e5da40aec256155cfedee96dd21a75da941f2c (patch) | |
| tree | cc3986c52025d252c2a063053692595e60c80e13 /net/sched/sch_api.c | |
| parent | sunvnet: Avoid sending superfluous LDC messages. (diff) | |
| download | kernel-46e5da40aec256155cfedee96dd21a75da941f2c.tar.gz kernel-46e5da40aec256155cfedee96dd21a75da941f2c.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 <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/sch_api.c')
0 files changed, 0 insertions, 0 deletions
