From 5071be2967b67f4aa2568c625f92902645ebccca Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Tue, 28 Apr 2020 16:48:33 -0700 Subject: [PATCH] ANDROID: GKI: ipv4: increase __IPV4_DEVCONF_MAX to 64 This allows for vendor modifications (up to 41 modifications) to their built-in netfilters without breaking the ABI or MODVERSIONS. Change-Id: Ic3a4c1f94ffa0e53105ab890ed75b9e70a670eaf Bug: 154377500 Signed-off-by: Will McVicker --- include/uapi/linux/ip.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h index e42d13b55cf3..c75a94ae7b02 100644 --- a/include/uapi/linux/ip.h +++ b/include/uapi/linux/ip.h @@ -169,7 +169,8 @@ enum IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST, IPV4_DEVCONF_DROP_GRATUITOUS_ARP, IPV4_DEVCONF_BC_FORWARDING, - __IPV4_DEVCONF_MAX + /* Add extra padding for vendor modifications */ + __IPV4_DEVCONF_MAX=64 }; #define IPV4_DEVCONF_MAX (__IPV4_DEVCONF_MAX - 1)