ipvs: Pass ipvs not net to register_ip_vs_app and unregister_ip_vs_app
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:32 +0000 (13:02 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:40 +0000 (09:34 +0900)
commit9f8128a56ef241753ea038e92948fe13beacf59f
tree34d50faddeaf3a206a2dc06d672ad77201148fde
parent3250dc9c52045dd3f38297d1e189cc147a8db884
ipvs: Pass ipvs not net to register_ip_vs_app and unregister_ip_vs_app

Also move the tests for net_ipvs being NULL into __ip_vs_ftp_init
and __ip_vs_ftp_exit.  The only places where they possibly make
sense.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_app.c
net/netfilter/ipvs/ip_vs_ftp.c