[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201009011151.02639.awilliams@atheros.com>
Date: Wed, 1 Sep 2010 11:51:02 -0700
From: Aaron Williams <awilliams@...eros.com>
To: <netdev@...r.kernel.org>
Subject: skb allocation size question
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists