From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 3/5] netdev: add rcu annotations to receive handler hook Date: Sun, 14 Nov 2010 13:12:04 -0800 Message-ID: <20101114211515.305479590@vyatta.com> References: <20101114211201.678755903@vyatta.com> Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org To: David Miller , Eric Dumazet Return-path: Received: from suva.vyatta.com ([76.74.103.44]:52957 "EHLO suva.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755469Ab0KNVSJ (ORCPT ); Sun, 14 Nov 2010 16:18:09 -0500 Content-Disposition: inline; filename=rx_handler_rcu.patch Sender: netdev-owner@vger.kernel.org List-ID: Suggested by Eric's bridge RCU changes. Signed-off-by: Stephen Hemminger --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/include/linux/netdevice.h 2010-11-14 11:41:53.224298362 -0800 +++ b/include/linux/netdevice.h 2010-11-14 11:42:42.546359900 -0800 @@ -995,8 +995,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;