diff --git a/net/socket.c b/net/socket.c index 29822d6dd91ec3637cbca205de3c450d19ec5651..d730ef9dfbf02aba150d5229a0d2875ddc23aa4d 100644 --- a/net/socket.c +++ b/net/socket.c @@ -257,6 +257,7 @@ static struct inode *sock_alloc_inode(struct super_block *sb) } init_waitqueue_head(&wq->wait); wq->fasync_list = NULL; + wq->flags = 0; RCU_INIT_POINTER(ei->socket.wq, wq); ei->socket.state = SS_UNCONNECTED;