]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit74634e78aaf86bfcaf3d5270be82e09f138bed11
tree8c15459ad21e293081636c535945682a079d51cf
parentc63aeb9bc5218b1fc9c2eb1a8309f12f30d920ae
[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