[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7P9PgkitLZAZrEoFfXT290rVr4oFibPyODPWhSVitA1WA@mail.gmail.com>
Date: Mon, 3 Nov 2014 13:41:51 -0800
From: Cong Wang <cwang@...pensource.com>
To: David Miller <davem@...emloft.net>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
netdev <netdev@...r.kernel.org>,
Yaogong Wang <wygivan@...gle.com>
Subject: Re: [PATCH net-next] net: add rbnode to struct sk_buff
On Mon, Nov 3, 2014 at 1:37 PM, David Miller <davem@...emloft.net> wrote:
> From: Cong Wang <cwang@...pensource.com>
> Date: Mon, 3 Nov 2014 13:34:33 -0800
>
>> No objections, but this is hacky, rbnode is larger than ->next + ->prev,
>> this means ->tstamp is always overwritten. This is why netem saves it
>> to its CB. This isn't flexible.
>
> It's the size of next+prev+tstamp. Eric is showing exactly what is
> shared with what with the struct/union layout.
I knew, I meant saving tstamp is not flexible, or at least not pretty. :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists