Re: [REPOST][GENETLINK]: Fix race in genl_unregister_mc_groups()

2007-07-24 Thread David Miller
From: Thomas Graf <[EMAIL PROTECTED]> Date: Tue, 24 Jul 2007 23:52:57 +0200 > family->mcast_groups is protected by genl_lock so it must > be held while accessing the list in genl_unregister_mc_groups(). > Requires adding a non-locking variant of genl_unregister_mc_group(). > > Signed-off-by: Thom

[REPOST][GENETLINK]: Fix race in genl_unregister_mc_groups()

2007-07-24 Thread Thomas Graf
family->mcast_groups is protected by genl_lock so it must be held while accessing the list in genl_unregister_mc_groups(). Requires adding a non-locking variant of genl_unregister_mc_group(). Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6/net/netlink/genetlink.c ===