aboutsummaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-05-20 23:05:15 +0530
committerEric Van Hensbergen <ericvh@gmail.com>2013-05-28 11:47:57 -0500
commit6390460af8a672754dd6743f326515e98f52b2a7 (patch)
tree34acc07818dc1412d7d390025b4bf303b56530cf /.mailmap
parentc1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff)
downloadkernel_goldelico_gta04-6390460af8a672754dd6743f326515e98f52b2a7.zip
kernel_goldelico_gta04-6390460af8a672754dd6743f326515e98f52b2a7.tar.gz
kernel_goldelico_gta04-6390460af8a672754dd6743f326515e98f52b2a7.tar.bz2
net/9p: Handle error in zero copy request correctly for 9p2000.u
For zero copy request, error will be encoded in the user space buffer. So copy the error code correctly using copy_from_user. Here we use the extra bytes we allocate for zero copy request. If total error details are more than P9_ZC_HDR_SZ - 7 bytes, we return -EFAULT. The patch also avoid a memory allocation in the error path. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions