diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2009-04-21 23:26:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-23 04:04:37 -0700 |
commit | 802788bf90f78e7f248e78d4d0510bb00e976db8 (patch) | |
tree | 41b055bd4697a78ca67b833b299044bd6e5bb2e7 /drivers/net/8139too.c | |
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>
Diffstat (limited to 'drivers/net/8139too.c')
0 files changed, 0 insertions, 0 deletions