]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/netdevice.h
netdev: add rcu annotations to receive handler hook
[net-next-2.6.git] / include / linux / netdevice.h
index fccb11f879e5dd2f5dfe64c537ebe96272a5d477..b45c1b8b1d19961b73a146e0e43b732705a2b322 100644 (file)
@@ -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;