IPVS: Allow adding IPv6 services from userspace
authorJulius Volz <juliusv@google.com>
Tue, 2 Sep 2008 13:55:55 +0000 (15:55 +0200)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Sep 2008 01:17:13 +0000 (11:17 +1000)
commitf94fd041402e4e70d2b4ed00008b9bb857e6ae87
treeb93acee99ffb79aa0d14baa4a2083028663e7710
parent473b23d37b697c66ac0bfcfdcc9badf718e25d2a
IPVS: Allow adding IPv6 services from userspace

Allow adding IPv6 services through the genetlink interface and add checks
to see if the chosen scheduler is supported with IPv6 and whether the
supplied prefix length is sane. Make sure the service count exported via
the sockopt interface only counts IPv4 services.

Signed-off-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_ctl.c