libipvs: Fix initialization of netlink (needed for IPv6) when the module ip_vs wasn't loaded.

The following happened when keepalived was started before the module for IPVS was loaded:

ipvs_init() failed => netlink got disabled.
modprobe_ipvs()
ipvs_init() => netlink was not tested again => no netlink => no IPv6

Fixed through testing netlink always in ipvs_init().

Signed-off-by: Simon Horman <horms@verge.net.au>
1 file changed