summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-11-15 06:38:12 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-11-15 19:13:17 (GMT)
commit61391cde9eefac5cfcf6d214aa80c77e58b1626b (patch)
treebcebcb5abe6638b7cde05f8ca5b51bba95cf1122 /include
parenta386f99025f13b32502fe5dedf223c20d7283826 (diff)
downloadlinux-fsl-qoriq-61391cde9eefac5cfcf6d214aa80c77e58b1626b.tar.xz
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')
-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 fccb11f..b45c1b8 100644
--- 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;