|
@@ -181,7 +181,6 @@ static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp,
|
|
|
int ret = 0;
|
|
|
enum ip_conntrack_info ctinfo;
|
|
|
struct nf_conn *ct;
|
|
|
- struct net *net;
|
|
|
|
|
|
*diff = 0;
|
|
|
|
|
@@ -289,9 +288,8 @@ static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp,
|
|
|
* would be adjusted twice.
|
|
|
*/
|
|
|
|
|
|
- net = skb_net(skb);
|
|
|
cp->app_data = NULL;
|
|
|
- ip_vs_tcp_conn_listen(net, n_cp);
|
|
|
+ ip_vs_tcp_conn_listen(n_cp);
|
|
|
ip_vs_conn_put(n_cp);
|
|
|
return ret;
|
|
|
}
|
|
@@ -320,7 +318,6 @@ static int ip_vs_ftp_in(struct ip_vs_app *app, struct ip_vs_conn *cp,
|
|
|
union nf_inet_addr to;
|
|
|
__be16 port;
|
|
|
struct ip_vs_conn *n_cp;
|
|
|
- struct net *net;
|
|
|
|
|
|
/* no diff required for incoming packets */
|
|
|
*diff = 0;
|
|
@@ -413,8 +410,7 @@ static int ip_vs_ftp_in(struct ip_vs_app *app, struct ip_vs_conn *cp,
|
|
|
/*
|
|
|
* Move tunnel to listen state
|
|
|
*/
|
|
|
- net = skb_net(skb);
|
|
|
- ip_vs_tcp_conn_listen(net, n_cp);
|
|
|
+ ip_vs_tcp_conn_listen(n_cp);
|
|
|
ip_vs_conn_put(n_cp);
|
|
|
|
|
|
return 1;
|