aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-11-15 01:38:12 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-15 14:13:17 -0500
commit61391cde9eefac5cfcf6d214aa80c77e58b1626b (patch)
treebcebcb5abe6638b7cde05f8ca5b51bba95cf1122 /include/linux/netdevice.h
parenta386f99025f13b32502fe5dedf223c20d7283826 (diff)
netdev: add rcu annotations to receive handler hook
Suggested by Eric's bridge RCU changes. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index fccb11f879e5..b45c1b8b1d19 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -994,8 +994,8 @@ struct net_device {
994 unsigned int real_num_rx_queues; 994 unsigned int real_num_rx_queues;
995#endif 995#endif
996 996
997 rx_handler_func_t *rx_handler; 997 rx_handler_func_t __rcu *rx_handler;
998 void *rx_handler_data; 998 void __rcu *rx_handler_data;
999 999
1000 struct netdev_queue __rcu *ingress_queue; 1000 struct netdev_queue __rcu *ingress_queue;
1001 1001