From: Hendrik Brueckner Date: Tue, 21 Apr 2009 23:26:26 +0000 (+0000) Subject: af_iucv: cleanup and refactor recvmsg() EFAULT handling X-Git-Tag: v2.6.31-rc1~330^2~573 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=802788bf90f78e7f248e78d4d0510bb00e976db8;p=pandora-kernel.git af_iucv: cleanup and refactor recvmsg() EFAULT handling If the skb cannot be copied to user iovec, always return -EFAULT. The skb is enqueued again, except MSG_PEEK flag is set, to allow user space applications to correct its iovec pointer. Signed-off-by: Hendrik Brueckner Signed-off-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed