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]
Message-ID: <b9e8fcbd0906240149g2f2e18f2vcd7dce234c949564@mail.gmail.com>
Date:	Wed, 24 Jun 2009 14:19:48 +0530
From:	Nicholas Van Orton <turanammo@...il.com>
To:	netdev@...r.kernel.org
Subject: e100 skb allocation

Hello,

	For the Intel 8256 Ethernet Controller (e100.c), I notice that at the
time of skb allocation using netdev_alloc_skb() and just before
calling skb_reserve(), rx->skb->head and rx->skb->tail do not point to
the same location. In fact they are already 16bytes apart. After
calling  skb_reserve(), which would add a 2 byte padding, head and
tail would be 18 bytes apart. Is this behaviour correct? Shouldn't the
ethernet header be 14+2 bytes after padding? Why aren't head and tail
at the same location at the beginning?


Thanks and regards,
Nicholas
--
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