Skip to content

Commit

Permalink
netdev: add rcu annotations to receive handler hook
Browse files Browse the repository at this point in the history
Suggested by Eric's bridge RCU changes.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
stephen hemminger authored and David S. Miller committed Nov 15, 2010
1 parent a386f99 commit 61391cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 61391cd

Please sign in to comment.