ipvs: Remove net argument from ip_vs_tcp_conn_listen
[deliverable/linux.git] / net / netfilter / ipvs / ip_vs_proto_tcp.c
index c913c2d00caf3d0f494e9cc06aa472e972d1eb0f..d7024b2ed769a274ec8320ef9650c777a1d7dcd4 100644 (file)
@@ -672,9 +672,9 @@ tcp_app_conn_bind(struct ip_vs_conn *cp)
 /*
  *     Set LISTEN timeout. (ip_vs_conn_put will setup timer)
  */
-void ip_vs_tcp_conn_listen(struct net *net, struct ip_vs_conn *cp)
+void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp)
 {
-       struct ip_vs_proto_data *pd = ip_vs_proto_data_get(net_ipvs(net), IPPROTO_TCP);
+       struct ip_vs_proto_data *pd = ip_vs_proto_data_get(cp->ipvs, IPPROTO_TCP);
 
        spin_lock_bh(&cp->lock);
        cp->state = IP_VS_TCP_S_LISTEN;
This page took 0.024151 seconds and 5 git commands to generate.