commit | 79dc4386aec655ad829f320ab90888bacbc7037b | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgraf@suug.ch> | Tue Jul 24 15:32:46 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 24 15:32:46 2007 -0700 |
tree | 82340d9c2be1c96e3e894a4fa29132e4234e74a1 | |
parent | 85ccc365e91de9f0053c94de4cbc6ce97f8170e7 [diff] |
[GENETLINK]: Fix race in genl_unregister_mc_groups() 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 <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>