[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101213.095847.104075355.davem@davemloft.net>
Date: Mon, 13 Dec 2010 09:58:47 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: xiaosuo@...il.com, hadi@...erus.ca, netdev@...r.kernel.org
Subject: Re: [PATCH 5/5] net: add skb.old_queue_mapping
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 13 Dec 2010 17:56:52 +0100
> Le lundi 13 décembre 2010 à 22:43 +0800, Changli Gao a écrit :
>> diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
>> index 19f37a6..2ce2a96 100644
>> --- a/include/linux/skbuff.h
>> +++ b/include/linux/skbuff.h
>> @@ -403,6 +403,9 @@ struct sk_buff {
>> };
>>
>> __u16 vlan_tci;
>> +#ifdef CONFIG_NET_CLS_ACT
>> + __u16 old_queue_mapping;
>> +#endif
>>
>
> Are you sure we need this field here ? Why not using cb[] for example ?
Agreed, we should be removing sk_buff members not adding new ones.
We should especially not be adding new members to this critical
structure for more obscure facilities like ifb.
--
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