From: Feng King Date: Mon, 21 Nov 2011 01:47:11 +0000 (+0000) Subject: net: correct comments of skb_shift X-Git-Tag: MMI-PSA29.97-13-9~17939^2~48 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20e994a05b33b186a22a3b9e922df4cce644daac;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 18a3cebb753d..3c30ee4a5710 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.