Subject: Re: Regression: Recent networking (qdisc?) patches break irda_get_next_speed()

From: David Miller <[email-masked]>
Date: Thu, 23 Oct 2008 17:21:29 -0700 (PDT)

From: "Brandeburg, Jesse" <[email-masked]>
Date: Thu, 23 Oct 2008 15:13:02 -0700

> Isn't this what the data that is skb_reserve'd at the beginning of
> skb's allocated by netdev_alloc_skb is for?  If you take an extra
> reference to the skb and/or use a destructor hook you should be
> good, right?
>
> you should just be able to push ->data using skb_reserve(sizeof your
> private data) in the beginning of the skb, or is that a horrible
> idea Dave?

This area of the SKB data is still volatile.

Let's say a packet scheduler classifier causes a TC action
to execute which pushes stuff there, it'll get overwritten.

Really, this idea won't work.