aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/ipvs/ip_vs_nq.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-04 00:43:24 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-12-05 05:37:26 -0800
commita014bc8f0f0a3a0cac4fef656f101cdfb77b71eb (patch)
tree0b48fdff5525ddba1c64a8c0fd8c8fb6e1a9aeab /net/ipv4/ipvs/ip_vs_nq.c
parente3c0ac04f980750a368f7cd5f1b8d1d2cdc1f735 (diff)
[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 <xemul@openvz.org> Acked-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_nq.c')
0 files changed, 0 insertions, 0 deletions