static void ftp_lookup_vhost (tux_req_t *req, int cachemiss)
{
struct dentry *dentry;
- struct nameidata base;
+ struct nameidata base={};
struct vfsmount *mnt = NULL;
unsigned int flag = cachemiss ? 0 : LOOKUP_ATOMIC;
char ip[3+1+3+1+3+1+3 + 2];
void ftp_accept_pasv (tux_req_t *req, int cachemiss)
{
struct socket *sock, *new_sock = NULL;
- struct tcp_opt *tp1, *tp2;
+ struct tcp_sock *tp1, *tp2;
int err;
tp1 = tcp_sk(req->data_sock->sk);
struct socket *data_sock;
struct sockaddr_in addr;
unsigned int str_len;
- struct tcp_opt *tp;
+ struct tcp_sock *tp;
u32 local_addr;
int err;