[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120112171201.GC2419@linux.vnet.ibm.com>
Date:	Thu, 12 Jan 2012 09:12:01 -0800
From:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Stephen Hemminger <shemminger@...tta.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: [BUG] commit a9b3cd7f32 is a mess
On Thu, Jan 12, 2012 at 02:56:43PM +0100, Eric Dumazet wrote:
> commit a9b3cd7f32 (rcu: convert uses of rcu_assign_pointer(x, NULL) to
> RCU_INIT_POINTER) is complete garbage.
> 
> Real content of this commit doesnt reflect Changelog claim.
> 
> I found this while trying to understand a 3.2 regression in IGMP code.
> 
> 	iml->sfmode = MCAST_EXCLUDE;
> -	rcu_assign_pointer(inet->mc_list, iml);
> +	RCU_INIT_POINTER(inet->mc_list, iml);
> 
> Obviously iml is not NULL here.
> 
> Please Paul dont Ack a patch only reading the Changelog.
Sigh.  That will teach me to trust coccinelle.  :-(
> I'll make a patch to revert all non NULL uses.
Please accept my apologies.  I will avoid trusting coccinelle quite so
much in the future, and thank you for fixing this up.
							Thanx, Paul
--
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