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

David Miller
2006-08-02T00:38:39Z

From: Krzysztof Halasa <khc@pm.waw.pl>
Date: Wed, 02 Aug 2006 02:24:43 +0200

> Do you mean IP calls hard_header() which, in turn, does skb_push()?
>
> How about Ethernet - is it safe? There is hard_header() which blindly
> adds 14 bytes.

I think Alexey is saying that setting ->hard_header() creates an
agreement between the device and IP that IP will make sure
that dev->hard_header_len bytes are available in the header
area.