diff options
author | Willem de Bruijn <willemb@google.com> | 2017-05-17 11:24:47 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-05-18 13:10:03 +0200 |
commit | 751a9c763849f5859cb69ea44b0430d00672f637 (patch) | |
tree | efbea6658744764f2ca567bfe0a9481ac6b55578 /include/linux | |
parent | c953d63548207a085abcb12a15fefc8a11ffdf0a (diff) | |
download | linux-751a9c763849f5859cb69ea44b0430d00672f637.tar.gz linux-751a9c763849f5859cb69ea44b0430d00672f637.tar.bz2 linux-751a9c763849f5859cb69ea44b0430d00672f637.zip |
netfilter: xtables: fix build failure from COMPAT_XT_ALIGN outside CONFIG_COMPAT
The patch in the Fixes references COMPAT_XT_ALIGN in the definition
of XT_DATA_TO_USER, outside an #ifdef CONFIG_COMPAT block.
Split XT_DATA_TO_USER into separate compat and non compat variants and
define the first inside an CONFIG_COMPAT block.
This simplifies both variants by removing branches inside the macro.
Fixes: 324318f0248c ("netfilter: xtables: zero padding in data_to_user")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions