Re: [PATCH] NET: fix kernel panic from no dev->hard_header_len space

David Miller
2006-07-30T22:29:53Z

From: Krzysztof Halasa <khc@pm.waw.pl>
Date: Sun, 30 Jul 2006 18:40:04 +0200

> Do the semantics (I'm not talking about bugs) allow skb passed
> to dev->hard_header() (if defined) and then to dev->hard_start_xmit()
> to have less link layer header space than dev->hard_header_len?
>
> I.e., is dev->hard_header_len only advisory?

It does seem weird that IP output won't pay attention to
dev->hard_header_len if the device does not provide a
dev->hard_header() method. That is for sure.