summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-10-28 14:01:49 +0800
committerDavid S. Miller <davem@davemloft.net>2013-10-29 00:19:04 -0400
commitc4e819d16c0f46fbdd3706adbd990b3b292d726c (patch)
tree9b86612bd0524627a865c8e1245f335bd936fc89 /net/core
parent39deb2c7db420b4bc19c65ee3ceb1cd34ee07756 (diff)
downloadlinux-c4e819d16c0f46fbdd3706adbd990b3b292d726c.tar.bz2
net, datagram: fix the incorrect comment in zerocopy_sg_from_iovec()
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/datagram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/datagram.c b/net/core/datagram.c
index af814e764206..a16ed7bbe376 100644
--- a/net/core/datagram.c
+++ b/net/core/datagram.c
@@ -577,7 +577,7 @@ EXPORT_SYMBOL(skb_copy_datagram_from_iovec);
/**
* zerocopy_sg_from_iovec - Build a zerocopy datagram from an iovec
* @skb: buffer to copy
- * @from: io vector to copy to
+ * @from: io vector to copy from
* @offset: offset in the io vector to start copying from
* @count: amount of vectors to copy to buffer from
*