]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: add defines for arp/decnet max hooks
authorFlorian Westphal <fw@strlen.de>
Thu, 7 Dec 2017 15:28:23 +0000 (16:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jan 2018 17:01:08 +0000 (18:01 +0100)
commitd2b6f7d3900c7482c7b631eec47ca32d957e222d
treea88c4f30c14bd301c82c5caf7062522982ba543b
parentf06c73a358babb824486cb738aae1062570ee805
netfilter: add defines for arp/decnet max hooks

The kernel already has defines for this, but they are in uapi exposed
headers.

Including these from netns.h causes build errors and also adds unneeded
dependencies on heads that we don't need.

So move these defines to netfilter_defs.h and place the uapi ones
in ifndef __KERNEL__ to keep them for userspace.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_defs.h
include/uapi/linux/netfilter_arp.h
include/uapi/linux/netfilter_decnet.h