cgroup: Fix sock_cgroup_data on big-endian.

[ Upstream commit 14b032b8f8fce03a546dcf365454bec8c4a58d7d ]

In order for no_refcnt and is_data to be the lowest order two
bits in the 'val' we have to pad out the bitfield of the u8.

Fixes: ad0f75e5f57c ("cgroup: fix cgroup_sk_alloc() for sk_clone_lock()")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

BUG=b/166429001
TEST=tryjob
SOURCE=UPSTREAM(6d584c6e29fc)
RELEASE_NOTE=None

Change-Id: Iede7856536d13efd79731de1cbd3cb10eae2c177
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/7423
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Tested-by: Ke Wu <mikewu@google.com>
Reviewed-by: Vaibhav Rustagi <vaibhavrustagi@google.com>
1 file changed