diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2018-08-13 18:43:36 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-16 20:37:09 +0300 |
commit | cdb2f401246ef70b37eeedd9c6f9c28d611d8255 (patch) | |
tree | de5d1d17c01563cf139fd5a86f29c2c92f4f6ea8 /.cocciconfig | |
parent | 3206c516ce4e4b56d7b99341814c261ec190f6df (diff) | |
download | linux-cdb2f401246ef70b37eeedd9c6f9c28d611d8255.tar.xz |
netfilter: uapi: fix linux/netfilter/nf_osf.h userspace compilation errors
Move inclusion of <linux/ip.h> and <linux/tcp.h> from
linux/netfilter/xt_osf.h to linux/netfilter/nf_osf.h to fix
the following linux/netfilter/nf_osf.h userspace compilation errors:
/usr/include/linux/netfilter/nf_osf.h:59:24: error: 'MAX_IPOPTLEN' undeclared here (not in a function)
struct nf_osf_opt opt[MAX_IPOPTLEN];
/usr/include/linux/netfilter/nf_osf.h:64:17: error: field 'ip' has incomplete type
struct iphdr ip;
/usr/include/linux/netfilter/nf_osf.h:65:18: error: field 'tcp' has incomplete type
struct tcphdr tcp;
Fixes: bfb15f2a95cb ("netfilter: extract Passive OS fingerprint infrastructure from xt_osf")
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions