diff options
author | Feng King <kinwin2008@gmail.com> | 2011-11-21 01:47:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-22 21:18:43 (GMT) |
commit | 20e994a05b33b186a22a3b9e922df4cce644daac (patch) | |
tree | 74f3d7bc5e1aa92a7c98d6a232dc3107bda8fe8e /net | |
parent | 717b6d83664646963c71d014c71babaa802333b9 (diff) | |
download | linux-20e994a05b33b186a22a3b9e922df4cce644daac.tar.xz |
net: correct comments of skb_shift
when skb_shift, we want to shift paged data from skb to tgt frag area.
Original comments revert the shift order
Signed-off-by: Feng King <kinwin2008@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/skbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 18a3ceb..3c30ee4 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -2230,7 +2230,7 @@ static int skb_prepare_for_shift(struct sk_buff *skb) * @shiftlen: shift up to this many bytes * * Attempts to shift up to shiftlen worth of bytes, which may be less than - * the length of the skb, from tgt to skb. Returns number bytes shifted. + * the length of the skb, from skb to tgt. Returns number bytes shifted. * It's up to caller to free skb if everything was shifted. * * If @tgt runs out of frags, the whole operation is aborted. |