Re: [irda-users] [1/3] IRDA: Create new field tx_extra in skbuff

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Evgeniy Polyakov
Date: Monday, November 10, 2008 - 11:22 pm

Hi Samuel.

On Tue, Nov 11, 2008 at 02:00:01AM +0100, Samuel Ortiz (samuel@sortiz.org) wrote:

It depends... If you own skb (when reference counter is 1), you can
owerwrite socket pointer with own data as long as destructor will also
be updated. You can try to clone skb and free old one to achieve this,
but it is not the fastest operation, althouhg I think both bt and irda
can afford that. Obviously in the first case you have to call old
destructor with old socket pointer also.

-- 
	Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[1/3] IRDA: Create new field tx_extra in skbuff, Alex Villací­s Lasso, (Mon Nov 10, 9:09 am)
Re: [1/3] IRDA: Create new field tx_extra in skbuff, Evgeniy Polyakov, (Mon Nov 10, 9:35 am)
Re: [1/3] IRDA: Create new field tx_extra in skbuff, Evgeniy Polyakov, (Mon Nov 10, 9:55 am)
Re: [1/3] IRDA: Create new field tx_extra in skbuff, David Miller, (Mon Nov 10, 1:51 pm)
Re: [irda-users] [1/3] IRDA: Create new field tx_extra in ..., Evgeniy Polyakov, (Mon Nov 10, 11:22 pm)