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 <willmcvicker@google.com>
This commit is contained in:
Will McVicker
2020-04-28 16:48:33 -07:00
committed by Will Mcvicker
parent ec5fb1b723
commit 5071be2967

View File

@@ -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)