summaryrefslogtreecommitdiff
path: root/net/packet/diag.c
diff options
context:
space:
mode:
authorAtzm Watanabe <atzm@stratosphere.co.jp>2013-12-17 17:53:32 +0400
committerDavid S. Miller <davem@davemloft.net>2013-12-18 09:36:16 +0400
commit51846355bc239b7d229ed7a1ea7b0333cbd23f01 (patch)
tree60a09f457a37d941159663fcaf26996a44e13d03 /net/packet/diag.c
parent9f605acf50ae31ce3ca5c061c3ce75d255ca1e6d (diff)
downloadlinux-51846355bc239b7d229ed7a1ea7b0333cbd23f01.tar.xz
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 'net/packet/diag.c')
0 files changed, 0 insertions, 0 deletions