]> 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)
commit484b7e14008439261fe787535542ee8ac579c85e
treea88c4f30c14bd301c82c5caf7062522982ba543b
parent29306e8082585876b27d4fae09e2e147c479d732
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