crypto: algif - suppress sending source address information in recvmsg
[pandora-kernel.git] / crypto / algif_skcipher.c
index 6a6dfc0..a1c4f0a 100644 (file)
@@ -432,6 +432,7 @@ static int skcipher_recvmsg(struct kiocb *unused, struct socket *sock,
        long copied = 0;
 
        lock_sock(sk);
+       msg->msg_namelen = 0;
        for (iov = msg->msg_iov, iovlen = msg->msg_iovlen; iovlen > 0;
             iovlen--, iov++) {
                unsigned long seglen = iov->iov_len;