diff options
author | Serhey Popovych <serhe.popovych@gmail.com> | 2020-01-31 18:28:34 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@netfilter.org> | 2020-02-07 20:46:22 +0100 |
commit | d31400351015aa8d90a52b2c2cc58618ea11ca20 (patch) | |
tree | 8a55d2bf79071566a80699a5e9b4eacede407f9b | |
parent | 61a8afcc9cc0311a607688923c76337f266b05b1 (diff) |
ip_set: Include kernel header instead of UAPI
This header is used to build kernel modules not userspace thus it is
correct to include linux/in.h kernel variant and not UAPI.
This fixes build on old and not widely supported systems like RHEL6 and
Debian GNU/Linux 7 (wheezy) before headers split to UAPI and kernel.
Fixes: 62d787ba5e66 ("netfilter: added missing includes to a number of header-files.")
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
-rw-r--r-- | kernel/include/linux/netfilter/ipset/ip_set_getport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set_getport.h b/kernel/include/linux/netfilter/ipset/ip_set_getport.h index 09c5a96..83b88f1 100644 --- a/kernel/include/linux/netfilter/ipset/ip_set_getport.h +++ b/kernel/include/linux/netfilter/ipset/ip_set_getport.h @@ -4,7 +4,7 @@ #include <linux/skbuff.h> #include <linux/types.h> -#include <uapi/linux/in.h> +#include <linux/in.h> extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src, __be16 *port, u8 *proto); |