netdev
[Top] [All Lists]

Re: skb_padto and small fragmented transmits

To: christopher.leech@xxxxxxxxx
Subject: Re: skb_padto and small fragmented transmits
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 06 Feb 2003 14:43:06 -0800 (PST)
Cc: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <1044559328.4618.54.camel@localhost.localdomain>
References: <BD9B60A108C4D511AAA10002A50708F20BA2AAE3@orsmsx118.jf.intel.com> <1044559328.4618.54.camel@localhost.localdomain>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Chris Leech <christopher.leech@xxxxxxxxx>
   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 :)


<Prev in Thread] Current Thread [Next in Thread>