X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=crypto%2Falgif_hash.c;h=ef5356cd280a54c086e4f8ff964245e38748a391;hb=57c8839c938707ad6980fa8c13f8ba29cdcc5449;hp=0262210cad386bde9b75f45d823c730920a54756;hpb=5c64e3a45d43c6e3fa87cbe02e10059171d10812;p=~andy%2Flinux diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c index 0262210cad3..ef5356cd280 100644 --- a/crypto/algif_hash.c +++ b/crypto/algif_hash.c @@ -161,8 +161,6 @@ 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;