public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* skb allocation size question
@ 2010-09-01 18:51 Aaron Williams
  2010-09-01 19:04 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Williams @ 2010-09-01 18:51 UTC (permalink / raw)
  To: netdev

Hi,

I have been trying to track down an issue in one of our drivers with SKB 
allocation and in my research I came across something that seems a bit 
strange. In __alloc_skb, a block for the data allocates size + sizeof(struct 
skb_shared_info) bytes, yet skb->truesize is set to size + sizeof(struct 
sk_buff). Is there a reason for this discrepancy?

-Aaron Williams

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

end of thread, other threads:[~2010-09-01 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01 18:51 skb allocation size question Aaron Williams
2010-09-01 19:04 ` Eric Dumazet

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