netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can ndo_select_queue save data in skb->cb?
@ 2014-11-05 17:57 James Yonan
  2014-11-05 18:16 ` Eric Dumazet
  0 siblings, 1 reply; 5+ messages in thread
From: James Yonan @ 2014-11-05 17:57 UTC (permalink / raw)
  To: netdev

Is it permissible for a net driver's ndo_select_queue method to save 
data in skb->cb for later use in ndo_start_xmit?

Also, is it necessary for users of skb->cb to zero out their private 
data after use to prevent it from being misinterpreted by other layers? 
  I noticed some commits in the log (such as 462fb2) are zeroing out the 
skb->cb area for this reason.

Thanks,
James

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

end of thread, other threads:[~2014-11-05 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05 17:57 Can ndo_select_queue save data in skb->cb? James Yonan
2014-11-05 18:16 ` Eric Dumazet
2014-11-05 18:38   ` Cong Wang
2014-11-05 18:53     ` Eric Dumazet
2014-11-05 19:23       ` John Fastabend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).