From: Pavel Emelyanov Date: Tue, 4 Dec 2007 08:43:24 +0000 (-0800) Subject: [IPVS]: Don't leak sysctl tables if the scheduler registration fails. X-Git-Tag: v2.6.24-rc5~64^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a014bc8f0f0a3a0cac4fef656f101cdfb77b71eb;p=pandora-kernel.git [IPVS]: Don't leak sysctl tables if the scheduler registration fails. In case we load lblc or lblcr module we can leak some sysctl tables if the call to register_ip_vs_scheduler() fails. I've looked at the register_ip_vs_scheduler() code and saw, that the only reason to fail is the name collision, so I think that with some 3rd party schedulers this becomes a relevant issue. No? Signed-off-by: Pavel Emelyanov Acked-by: Simon Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed