ipvs: generalize app registration in netns
authorJulian Anastasov <ja@ssi.bg>
Thu, 12 Jul 2012 20:06:20 +0000 (23:06 +0300)
committerSimon Horman <horms@verge.net.au>
Fri, 10 Aug 2012 01:34:51 +0000 (10:34 +0900)
commitbe97fdb5fbcc828240c51769cd28cba609158703
tree512958698e5023506ef8728d0c5c1800ba2dba06
parentaaea4ed74d71dda1cf2cc19c206552d537201452
ipvs: generalize app registration in netns

Get rid of the ftp_app pointer and allow applications
to be registered without adding fields in the netns_ipvs structure.

v2: fix coding style as suggested by Pablo Neira Ayuso <pablo@netfilter.org>

Signed-off-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