projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a386f99
)
netdev: add rcu annotations to receive handler hook
author
stephen hemminger
<shemminger@vyatta.com>
Mon, 15 Nov 2010 06:38:12 +0000
(06:38 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 15 Nov 2010 19:13:17 +0000
(11:13 -0800)
Suggested by Eric's bridge RCU changes.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
patch
|
blob
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index fccb11f879e5dd2f5dfe64c537ebe96272a5d477..b45c1b8b1d19961b73a146e0e43b732705a2b322 100644
(file)
--- a/
include/linux/netdevice.h
+++ b/
include/linux/netdevice.h
@@
-994,8
+994,8
@@
struct net_device {
unsigned int real_num_rx_queues;
#endif
- rx_handler_func_t
*rx_handler;
- void
*rx_handler_data;
+ rx_handler_func_t
__rcu
*rx_handler;
+ void
__rcu
*rx_handler_data;
struct netdev_queue __rcu *ingress_queue;