提交 61391cde 编写于 作者: S stephen hemminger 提交者: David S. Miller

netdev: add rcu annotations to receive handler hook

Suggested by Eric's bridge RCU changes.
Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a386f990
...@@ -994,8 +994,8 @@ struct net_device { ...@@ -994,8 +994,8 @@ struct net_device {
unsigned int real_num_rx_queues; unsigned int real_num_rx_queues;
#endif #endif
rx_handler_func_t *rx_handler; rx_handler_func_t __rcu *rx_handler;
void *rx_handler_data; void __rcu *rx_handler_data;
struct netdev_queue __rcu *ingress_queue; struct netdev_queue __rcu *ingress_queue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册