Re: [RFC,PATCH] ipvs: Fix race condition in lblb and lblcr schedulers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Simon Horman
Date: Monday, August 11, 2008 - 7:10 pm

On Tue, Aug 12, 2008 at 12:57:21AM +0200, Sven Wegener wrote:

Is there a pathological case here if sysctl_ip_vs_lblc_expiration is
set to be very short and we happen to hit ip_vs_lblc_full_check()?

To be honest I think that I like the reference count approach best,
as it seems safe and simple. Is it really going to be horrible
for performance?

If so, I wonder if a workable solution would be to provide a more fine-grained
lock on tbl. Something like the way that ct_read_lock/unlock() works.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC,PATCH] ipvs: Fix race condition in lblb and lblcr ..., Simon Horman, (Mon Aug 11, 7:10 pm)