Commit ba602a81 authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[IPVS]: Rename tcp_{init,exit}() --> ip_vs_tcp_{init,exit}()

Conflicts with global namespace functions with the
same name.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bf73d1c5
...@@ -604,14 +604,14 @@ void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp) ...@@ -604,14 +604,14 @@ void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp)
} }
static void tcp_init(struct ip_vs_protocol *pp) static void ip_vs_tcp_init(struct ip_vs_protocol *pp)
{ {
IP_VS_INIT_HASH_TABLE(tcp_apps); IP_VS_INIT_HASH_TABLE(tcp_apps);
pp->timeout_table = tcp_timeouts; pp->timeout_table = tcp_timeouts;
} }
static void tcp_exit(struct ip_vs_protocol *pp) static void ip_vs_tcp_exit(struct ip_vs_protocol *pp)
{ {
} }
...@@ -621,8 +621,8 @@ struct ip_vs_protocol ip_vs_protocol_tcp = { ...@@ -621,8 +621,8 @@ struct ip_vs_protocol ip_vs_protocol_tcp = {
.protocol = IPPROTO_TCP, .protocol = IPPROTO_TCP,
.dont_defrag = 0, .dont_defrag = 0,
.appcnt = ATOMIC_INIT(0), .appcnt = ATOMIC_INIT(0),
.init = tcp_init, .init = ip_vs_tcp_init,
.exit = tcp_exit, .exit = ip_vs_tcp_exit,
.register_app = tcp_register_app, .register_app = tcp_register_app,
.unregister_app = tcp_unregister_app, .unregister_app = tcp_unregister_app,
.conn_schedule = tcp_conn_schedule, .conn_schedule = tcp_conn_schedule,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment