Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61391cde authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

netdev: add rcu annotations to receive handler hook



Suggested by Eric's bridge RCU changes.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a386f990
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;