[GENETLINK]: Relax dances with genl_lock.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 13 Feb 2008 06:16:33 +0000 (22:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2008 06:16:33 +0000 (22:16 -0800)
commit910d6c320cac65c81d66e8fd30dca167092722eb
tree8c15459ad21e293081636c535945682a079d51cf
parent4c3a0a254e5d706d3fe01bf42261534858d05586
[GENETLINK]: Relax dances with genl_lock.

The genl_unregister_family() calls the genl_unregister_mc_groups(),
which takes and releases the genl_lock and then locks and releases
this lock itself.

Relax this behavior, all the more so the genl_unregister_mc_groups()
is called from genl_unregister_family() only.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/genetlink.c