diff options
Diffstat (limited to 'net/unix')
| -rw-r--r-- | net/unix/af_unix.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index d8d98d5b508..217fb7f34d5 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -1171,7 +1171,7 @@ restart:  	newsk->sk_type		= sk->sk_type;  	init_peercred(newsk);  	newu = unix_sk(newsk); -	newsk->sk_wq		= &newu->peer_wq; +	RCU_INIT_POINTER(newsk->sk_wq, &newu->peer_wq);  	otheru = unix_sk(other);  	/* copy address information from listening to new sock*/ | 
