]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix memcpy_toiovecend() to use the right offset
authorSridhar Samudrala <sri@us.ibm.com>
Fri, 5 Jun 2009 09:35:44 +0000 (09:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jun 2009 07:25:39 +0000 (00:25 -0700)
commitbb72b491cedf57ce04bfe61c8ae7adffd1e04b1f
treed23b72d99342dd067dd9753d8b1286236831f54e
parent53d602b52fb5077f283ff080ca63547b9f2ce8d3
net: Fix memcpy_toiovecend() to use the right offset

Increment the iovec base by the offset passed in for the initial
copy_to_user() in memcpy_to_iovecend().

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/iovec.c