OSDN Git Service

netfilter: remove NFPROTO_DECNET
authorFlorian Westphal <fw@strlen.de>
Mon, 22 Aug 2022 14:41:21 +0000 (16:41 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 7 Sep 2022 14:46:03 +0000 (16:46 +0200)
Decnet has been removed. so no need to reserve space in arrays for it.

Signed-off-by: Florian Westphal <fw@strlen.de>
include/uapi/linux/netfilter.h

index 53411cc..5a79ccb 100644 (file)
@@ -63,7 +63,9 @@ enum {
        NFPROTO_NETDEV =  5,
        NFPROTO_BRIDGE =  7,
        NFPROTO_IPV6   = 10,
+#ifndef __KERNEL__ /* no longer supported by kernel */
        NFPROTO_DECNET = 12,
+#endif
        NFPROTO_NUMPROTO,
 };