diff options
Diffstat (limited to 'crypto/algif_skcipher.c')
-rw-r--r-- | crypto/algif_skcipher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/algif_skcipher.c b/crypto/algif_skcipher.c index 6a6dfc062d2a..a1c4f0a55583 100644 --- a/crypto/algif_skcipher.c +++ b/crypto/algif_skcipher.c | |||
@@ -432,6 +432,7 @@ static int skcipher_recvmsg(struct kiocb *unused, struct socket *sock, | |||
432 | long copied = 0; | 432 | long copied = 0; |
433 | 433 | ||
434 | lock_sock(sk); | 434 | lock_sock(sk); |
435 | msg->msg_namelen = 0; | ||
435 | for (iov = msg->msg_iov, iovlen = msg->msg_iovlen; iovlen > 0; | 436 | for (iov = msg->msg_iov, iovlen = msg->msg_iovlen; iovlen > 0; |
436 | iovlen--, iov++) { | 437 | iovlen--, iov++) { |
437 | unsigned long seglen = iov->iov_len; | 438 | unsigned long seglen = iov->iov_len; |