mirror of
https://github.com/torvalds/linux
synced 2024-10-25 20:59:03 +00:00
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>
This commit is contained in:
parent
a386f99025
commit
61391cde9e
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue