commit | 802788bf90f78e7f248e78d4d0510bb00e976db8 | [log] [tgz] |
---|---|---|
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | Tue Apr 21 23:26:26 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 23 04:04:37 2009 -0700 |
tree | 41b055bd4697a78ca67b833b299044bd6e5bb2e7 | |
parent | aa8e71f58ab8e01d63c33df40ff1bcb997c9df92 [diff] |
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>