Re: Storing hardware timestamps - how about using the new skb's control block?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick Ohly
Date: Wednesday, November 12, 2008 - 1:27 am

On Tue, 2008-11-11 at 20:53 +0000, Mark Smith wrote:

My understanding of sk_buff->cb might be wrong, but isn't each layer
allowed to overwrite it as the packet traverses the different queues?
skb_share_check() is not mandatory: the owner of a packet has to call it
if he wants to preserve the control block, not the recipient of a
packet.

If that understanding is correct, then I don't see how the control block
can be used to communicate information across layers. Or do I miss
something fundamental?

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.

--
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:
Re: Storing hardware timestamps - how about using the new ..., Patrick Ohly, (Wed Nov 12, 1:27 am)