aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_conn.c
diff options
context:
space:
mode:
authorHans Schillstrom <hans@schillstrom.com>2011-05-01 12:50:16 -0400
committerSimon Horman <horms@verge.net.au>2011-06-13 04:10:09 -0400
commit503cf15a5ecc0f3f7a05ffe04c89fb7496100ee7 (patch)
treeda33790829b1587261193d1c859da9de3a7035e6 /net/netfilter/ipvs/ip_vs_conn.c
parented78bec4d6873e8971f56557f8ca3bcda38044ea (diff)
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_conn.c')
-rw-r--r--net/netfilter/ipvs/ip_vs_conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c
index bf28ac2fc99..77c61b0b6d6 100644
--- a/net/netfilter/ipvs/ip_vs_conn.c
+++ b/net/netfilter/ipvs/ip_vs_conn.c
@@ -1247,7 +1247,7 @@ flush_again:
1247/* 1247/*
1248 * per netns init and exit 1248 * per netns init and exit
1249 */ 1249 */
1250int __net_init __ip_vs_conn_init(struct net *net) 1250int __net_init ip_vs_conn_net_init(struct net *net)
1251{ 1251{
1252 struct netns_ipvs *ipvs = net_ipvs(net); 1252 struct netns_ipvs *ipvs = net_ipvs(net);
1253 1253
@@ -1258,7 +1258,7 @@ int __net_init __ip_vs_conn_init(struct net *net)
1258 return 0; 1258 return 0;
1259} 1259}
1260 1260
1261void __net_exit __ip_vs_conn_cleanup(struct net *net) 1261void __net_exit ip_vs_conn_net_cleanup(struct net *net)
1262{ 1262{
1263 /* flush all the connection entries first */ 1263 /* flush all the connection entries first */
1264 ip_vs_conn_flush(net); 1264 ip_vs_conn_flush(net);