diff options
| author | 2013-12-17 22:53:32 +0900 | |
|---|---|---|
| committer | 2013-12-18 00:36:16 -0500 | |
| commit | 51846355bc239b7d229ed7a1ea7b0333cbd23f01 (patch) | |
| tree | 60a09f457a37d941159663fcaf26996a44e13d03 /include/linux/compiler-gcc.h | |
| parent | Merge branch 'bna' (diff) | |
| download | linux-dev-51846355bc239b7d229ed7a1ea7b0333cbd23f01.tar.xz linux-dev-51846355bc239b7d229ed7a1ea7b0333cbd23f01.zip | |
packet: make aligned size of struct tpacket{2,3}_hdr clear
struct tpacket{2,3}_hdr is aligned to a multiple of TPACKET_ALIGNMENT.
We may add members to them until current aligned size without forcing
userspace to call getsockopt(..., PACKET_HDRLEN, ...).
Signed-off-by: Atzm Watanabe <atzm@stratosphere.co.jp>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions
