Re: skb_padto and small fragmented transmits

David S. Miller (davem@redhat.com)
Thu, 06 Feb 2003 14:43:06 -0800 (PST)


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.

Sorry for telling you to do the wrong thing Alan, my bad :)
-
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/