Skip to content

Commit 61391cd

Browse files
stephen hemmingerdavem330
authored andcommitted
netdev: add rcu annotations to receive handler hook
Suggested by Eric's bridge RCU changes. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a386f99 commit 61391cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/netdevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,8 +994,8 @@ struct net_device {
994994
unsigned int real_num_rx_queues;
995995
#endif
996996

997-
rx_handler_func_t *rx_handler;
998-
void *rx_handler_data;
997+
rx_handler_func_t __rcu *rx_handler;
998+
void __rcu *rx_handler_data;
999999

10001000
struct netdev_queue __rcu *ingress_queue;
10011001

0 commit comments

Comments
 (0)