diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-11-15 06:38:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-15 11:13:17 -0800 |
commit | 61391cde9eefac5cfcf6d214aa80c77e58b1626b (patch) | |
tree | bcebcb5abe6638b7cde05f8ca5b51bba95cf1122 | |
parent | a386f99025f13b32502fe5dedf223c20d7283826 (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>
-rw-r--r-- | include/linux/netdevice.h | 4 |
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 { 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; |