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

David Miller
2006-07-31T20:24:40Z

From: Krzysztof Halasa <khc@pm.waw.pl>
Date: Mon, 31 Jul 2006 22:04:33 +0200

> This is non-trivial because hard_header and hard_start_xmit
> functions currently can't return new skb address (hard_header()
> can't use skb_realloc_headroom() at all, xmit() can't use it if
> there is a need to requeue the packet).
>
> Or can you just realloc the data portion of skb without changing skb
> struct address? The skb may be referenced by other things.

Krzysztof, which device driver exactly creates this problem
in the first place?