Netdev List
 help / color / mirror / Atom feed
* Storing hardware timestamps - how about using the new skb's control block?
@ 2008-11-11 20:53 Mark Smith
  2008-11-12  8:27 ` Patrick Ohly
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Smith @ 2008-11-11 20:53 UTC (permalink / raw)
  To: patrick.ohly; +Cc: netdev

Hi,

Just a quick suggestion for storing hardware timestamps, how about
storing them in the new skb's control block?

>From what I understand, any private users of the control block are
supposed to ignore the existing value, and if a protocol/tap is going
to be looking at the new skb, it should have done a skb_share_check()
first to grab it's own private copy if necessary, protecting the
control block stored timestamp value from any of the other skb
users who might change the control block value for their own purposes.

Regards,
Mark.

-- 

        "Sheep are slow and tasty, and therefore must remain constantly
         alert."
                                   - Bruce Schneier, "Beyond Fear"

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-12  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 20:53 Storing hardware timestamps - how about using the new skb's control block? Mark Smith
2008-11-12  8:27 ` Patrick Ohly
2008-11-12  8:39   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox