commit | 51846355bc239b7d229ed7a1ea7b0333cbd23f01 | [log] [tgz] |
---|---|---|
author | Atzm Watanabe <atzm@stratosphere.co.jp> | Tue Dec 17 22:53:32 2013 +0900 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 18 00:36:16 2013 -0500 |
tree | 60a09f457a37d941159663fcaf26996a44e13d03 | |
parent | 9f605acf50ae31ce3ca5c061c3ce75d255ca1e6d [diff] |
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>