Feyd wrote:
On Mon, 11 Jul 2005 09:16:21 +0200 (CEST)
Ben Greear <[EMAIL PROTECTED]> wrote:
If you do find yourself needing to grow the skb, it can be done,
but it is not too efficient. Look at the 8021q vlan transmit
path code...it will insert it's 4 byte header in certain cases, and
has logic to grow the skb if needed...
Yes, I just thought I can avoid the growing in the driver by adjusting
the ->hard_header_len appropriately.
There used to be a place in netdev.h where you could specify the
bytes to reserve, but it is still not guaranteed to give you enough
header room...
Ben
Feyd
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc http://www.candelatech.com
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html