crypto: algif - suppress sending source address information in recvmsg
[pandora-kernel.git] / crypto / algif_hash.c
index ef5356c..0262210 100644 (file)
@@ -161,6 +161,8 @@ static int hash_recvmsg(struct kiocb *unused, struct socket *sock,
        else if (len < ds)
                msg->msg_flags |= MSG_TRUNC;
 
+       msg->msg_namelen = 0;
+
        lock_sock(sk);
        if (ctx->more) {
                ctx->more = 0;