summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2009-04-22 01:26:26 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-23 13:04:37 +0200
commit802788bf90f78e7f248e78d4d0510bb00e976db8 (patch)
tree41b055bd4697a78ca67b833b299044bd6e5bb2e7 /net/core
parentaf_iucv: Provide new socket type SOCK_SEQPACKET (diff)
downloadlinux-802788bf90f78e7f248e78d4d0510bb00e976db8.tar.xz
linux-802788bf90f78e7f248e78d4d0510bb00e976db8.zip
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 <brueckner@linux.vnet.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions