ANDROID: GKI: add Android ABI padding to struct nf_conn

Try to mitigate potential future driver core api changes by adding
padding to struct nf_conn;

Bug: 151154716
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ib18a9a929d351c66556f1f27b217cbf22b733a10
This commit is contained in:
Greg Kroah-Hartman
2020-10-30 09:52:06 +01:00
parent e6f5502bc3
commit 4c95a92b84

View File

@@ -15,6 +15,7 @@
#include <linux/bitops.h>
#include <linux/compiler.h>
#include <linux/android_kabi.h>
#include <linux/netfilter/nf_conntrack_common.h>
#include <linux/netfilter/nf_conntrack_tcp.h>
@@ -105,6 +106,9 @@ struct nf_conn {
/* Storage reserved for other modules, must be the last member */
union nf_conntrack_proto proto;
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
};
static inline struct nf_conn *