All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] commit a9b3cd7f32 is a mess
@ 2012-01-12 13:56 Eric Dumazet
  2012-01-12 14:41 ` [PATCH] net: reintroduce missing rcu_assign_pointer() calls Eric Dumazet
  2012-01-12 17:12 ` [BUG] commit a9b3cd7f32 is a mess Paul E. McKenney
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Dumazet @ 2012-01-12 13:56 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Paul E. McKenney

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-12 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 13:56 [BUG] commit a9b3cd7f32 is a mess Eric Dumazet
2012-01-12 14:41 ` [PATCH] net: reintroduce missing rcu_assign_pointer() calls Eric Dumazet
2012-01-12 15:47   ` Stephen Hemminger
2012-01-12 20:27   ` David Miller
2012-01-12 17:12 ` [BUG] commit a9b3cd7f32 is a mess Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.