ANDROID: GKI: preserve ABI for struct sock_cgroup_data

In commit ad0f75e5f57c ("cgroup: fix cgroup_sk_alloc() for
sk_clone_lock()") the struct sock_cgroup_data fields are changed a bit,
in a way that keeps the same size and functionality, it just packs
another bit into the structure.

Because this does not really change the abi, tell the genksyms detector
that nothing has changed so that the ABI checker is happy.

Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibc748616140ac0da69b04699cfd2322dc4e5d1f4
Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
Greg Kroah-Hartman
2020-07-23 08:45:11 +02:00
committed by Will McVicker
parent e80ce97d57
commit 83f60b3043

View File

@@ -763,9 +763,13 @@ struct sock_cgroup_data {
union {
#ifdef __LITTLE_ENDIAN
struct {
#ifdef __GENKSYMS__
u8 is_data;
#else
u8 is_data : 1;
u8 no_refcnt : 1;
u8 unused : 6;
#endif
u8 padding;
u16 prioidx;
u32 classid;