Re: skb_padto and small fragmented transmits

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Feb 07 2003 - 08:33:41 EST


On Thu, 2003-02-06 at 22:43, David S. Miller wrote:
> From: Chris Leech <christopher.leech@intel.com>
> Date: 06 Feb 2003 11:22:08 -0800
>
> OK, now I'm really getting confused. Every other example I can find in
> the networking code, and every scatter-gather capable driver, uses
> skb->len as the full length and skb->len - skb->data_len as the length
> of the first or linear portion.
>
> Indeed, Alan you need to fix the skb_padto stuff to use
> skb->len, ignore the skb->data_len as skb->len is the
> full length.

Dave just fix it next time you touch the code and push it to Marcelo. It
doesnt affect the 2.2 backport so that will be ok

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:23 EST