[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1326376603.2950.14.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Thu, 12 Jan 2012 14:56:43 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: netdev <netdev@...r.kernel.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: [BUG] commit a9b3cd7f32 is a mess
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.
I'll make a patch to revert all non NULL uses.
--
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