diff options
| author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2009-04-22 03:26:26 +0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-04-23 15:04:37 +0400 |
| commit | 802788bf90f78e7f248e78d4d0510bb00e976db8 (patch) | |
| tree | 41b055bd4697a78ca67b833b299044bd6e5bb2e7 /include/linux | |
| parent | aa8e71f58ab8e01d63c33df40ff1bcb997c9df92 (diff) | |
| download | linux-802788bf90f78e7f248e78d4d0510bb00e976db8.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
