[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120607.231501.463746858434969001.davem@davemloft.net>
Date: Thu, 07 Jun 2012 23:15:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: therbert@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH] bonding: Fix corrupted queue_mapping
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 08 Jun 2012 08:11:21 +0200
> On Thu, 2012-06-07 at 23:02 -0700, David Miller wrote:
>> Hmmm, isn't that what qdisc_skb_cb is for? And even private data is
>> explicitly allocated:
>>
>> > unsigned char data[24];
>>
>> there. :-)
>>
>
> Yes, but some other layers can use the same trick so it might collide.
>
> Inserting the bond field in qdisc_skb_cb (level0) is safer.
Do you suggest that Infiniband does the same thing? :-)
--
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