diff options
author | Alin Nastac <alin.nastac@gmail.com> | 2018-05-30 15:19:36 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-04 18:54:30 +0200 |
commit | 9e8c8dabb78e886ace989729e763d28c76f5169e (patch) | |
tree | 6f8b688a0caae3589815824ff36b634a8c8dcc9d /net/wimax/wimax-internal.h | |
parent | ipvs: fix check on xmit to non-local addresses (diff) | |
download | linux-9e8c8dabb78e886ace989729e763d28c76f5169e.tar.xz linux-9e8c8dabb78e886ace989729e763d28c76f5169e.zip |
netfilter: ebtables: fix compat entry padding
On arm64, ebt_entry_{match,watcher,target} structs are 40 bytes long
while on 32-bit arm these structs have a size of 36 bytes.
COMPAT_XT_ALIGN() macro cannot be used here to determine the necessary
padding for the CONFIG_COMPAT because it imposes an 8-byte boundary
alignment, condition that is not found in 32-bit ebtables application.
Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/wimax/wimax-internal.h')
0 files changed, 0 insertions, 0 deletions