[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1415213589.13896.14.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Wed, 05 Nov 2014 10:53:09 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Cong Wang <cwang@...pensource.com>
Cc: James Yonan <james@...nvpn.net>, netdev <netdev@...r.kernel.org>
Subject: Re: Can ndo_select_queue save data in skb->cb?
On Wed, 2014-11-05 at 10:38 -0800, Cong Wang wrote:
> That is only because qdisc layer saves data for bond,
> which means if you have more data to save, you have to put
> more into qdisc CB, it is just ugly.
Right, using skb->cb[] is ugly, dangerous, and all this.
If you can, avoiding it is safer.
Note that I pointed to the bonding case for a legal case,
I had no time to do a full explanation, feel free to do so ;)
--
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