Re: [PATCH][GENETLINK]: Relax dances with genl_lock.

2008-02-12 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Tue, 12 Feb 2008 20:16:13 +0300 > 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_unregis

[PATCH][GENETLINK]: Relax dances with genl_lock.

2008-02-12 Thread Pavel Emelyanov
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. I'm not sure, whether this