[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1340219643.4604.1641.camel@edumazet-glaptop>
Date: Wed, 20 Jun 2012 21:14:03 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jiri Pirko <jpirko@...hat.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jbrouer@...hat.com,
paulmck@...ux.vnet.ibm.com, wfg@...ux.intel.com
Subject: Re: [patch net-next] team: do RCU update path fixups
On Wed, 2012-06-20 at 20:39 +0200, Jiri Pirko wrote:
> Use rcu_access_pointer and rcu_dereference_protected
> to access RCU pointer by updater.
> Use RCU_INIT_POINTER for NULL assignment of RCU pointer.
>
> Signed-off-by: Jiri Pirko <jpirko@...hat.com>
> ---
> drivers/net/team/team_mode_activebackup.c | 8 ++++++--
> drivers/net/team/team_mode_loadbalance.c | 14 ++++++++++----
> 2 files changed, 16 insertions(+), 6 deletions(-)
Seems good to me, thanks.
Acked-by: Eric Dumazet <edumazet@...gle.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists