]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] knfsd: SUNRPC: Don't set msg_name and msg_namelen when calling sock_recvmsg
authorChuck Lever <chuck.lever@oracle.com>
Mon, 12 Feb 2007 08:53:31 +0000 (00:53 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:35 +0000 (09:48 -0800)
commit57fc22c36c91ac62db55be5bb5d3dd733adacafb
tree68e6e183de677269078de1b2ce6efc88249a3b33
parent32d6f307e0962aea5c18d20fb5a21410cc1a3249
[PATCH] knfsd: SUNRPC: Don't set msg_name and msg_namelen when calling sock_recvmsg

Clean-up: msg_name and msg_namelen are not used by sock_recvmsg, so don't
bother to set them in svc_recvfrom.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sunrpc/svcsock.c