lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ