summaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_proto.c
diff options
context:
space:
mode:
authorHans Schillstrom2011-05-01 18:50:16 +0200
committerSimon Horman2011-06-13 10:10:09 +0200
commit503cf15a5ecc0f3f7a05ffe04c89fb7496100ee7 (patch)
treeda33790829b1587261193d1c859da9de3a7035e6 /net/netfilter/ipvs/ip_vs_proto.c
parentIPVS remove unused var from migration to netns (diff)
downloadkernel-qcow2-linux-503cf15a5ecc0f3f7a05ffe04c89fb7496100ee7.tar.gz
kernel-qcow2-linux-503cf15a5ecc0f3f7a05ffe04c89fb7496100ee7.tar.xz
kernel-qcow2-linux-503cf15a5ecc0f3f7a05ffe04c89fb7496100ee7.zip
IPVS: rename of netns init and cleanup functions.
Make it more clear what the functions does, on request by Julian. Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Signed-off-by: Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_proto.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto.c b/net/netfilter/ipvs/ip_vs_proto.c
index eb86028536fc..52d073c105e9 100644
--- a/net/netfilter/ipvs/ip_vs_proto.c
+++ b/net/netfilter/ipvs/ip_vs_proto.c
@@ -316,7 +316,7 @@ ip_vs_tcpudp_debug_packet(int af, struct ip_vs_protocol *pp,
/*
* per network name-space init
*/
-int __net_init __ip_vs_protocol_init(struct net *net)
+int __net_init ip_vs_protocol_net_init(struct net *net)
{
#ifdef CONFIG_IP_VS_PROTO_TCP
register_ip_vs_proto_netns(net, &ip_vs_protocol_tcp);
@@ -336,7 +336,7 @@ int __net_init __ip_vs_protocol_init(struct net *net)
return 0;
}
-void __net_exit __ip_vs_protocol_cleanup(struct net *net)
+void __net_exit ip_vs_protocol_net_cleanup(struct net *net)
{
struct netns_ipvs *ipvs = net_ipvs(net);
struct ip_vs_proto_data *pd;