Re: [RFC PATCH net-next 1/4] net: introduce backup_classid to structskbuff

From: Libo Chen
Date: Tue Jan 07 2014 - 07:55:54 EST


On 2014/1/3 13:34, David Miller wrote:
> From: Libo Chen <clbchenlibo.chen@xxxxxxxxxx>
> Date: Fri, 3 Jan 2014 11:11:04 +0800
>
>>
>> introduce backup_classid to struct skbuff,
>> we can use it to backup sk_classid when net_ns switch.
>>
>> Signed-off-by: Libo Chen <clbchenlibo.chen@xxxxxxxxxx>
>
> Sorry, no new sk_buff members unless there is absolutely not other
> possible implementation.
>

I'm kind of banging my head against the wall with this,
but can not think of a better way.

skb_shared_info is the extension for sk_buffer, how about moving into it?

any comments are appreciated!

thanks,
Libo

> sk_buff is too big as-is.
>
> .
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/