From: Simon Horman <[EMAIL PROTECTED]> Date: Tue, 4 Dec 2007 10:41:43 +0900
> On Mon, Dec 03, 2007 at 01:10:57PM +0300, Pavel Emelyanov wrote: > > The register_ip_vs_scheduler() checks for the scheduler with the > > same name under the read-locked __ip_vs_sched_lock, then drops, > > takes it for writing and puts the scheduler in list. > > > > This is racy, since we can have a race window between the lock > > being re-locked for writing. > > > > The fix is to search the scheduler with the given name right under > > the write-locked __ip_vs_sched_lock. > > This looks correct to me. > > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> > > Acked-by: Simon Horman <[EMAIL PROTECTED]> Also applied, thanks a lot. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html