commit | b95bec5f0527e1c5bd2ad1a1c3f09c8c963b8ce1 | [log] [tgz] |
---|---|---|
author | Cong Wang <[email protected]> | Thu Jul 09 16:28:44 2020 -0700 |
committer | Ke Wu <[email protected]> | Mon Oct 12 18:29:12 2020 +0000 |
tree | 0682002dcd089503a72968ef16a7438ff80a1f87 | |
parent | 8b55ee2888908ceb5a06aef61b7a8d58a13239db [diff] |
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> BUG=b/166429001 TEST=tryjob SOURCE=UPSTREAM(6d584c6e29fc) RELEASE_NOTE=None Change-Id: Ib7be7342b394430da2f43bceab66465c208da2b6 Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/6942 Reviewed-by: Vaibhav Rustagi <[email protected]> Reviewed-by: Xiao Jia <[email protected]> Tested-by: Ke Wu <[email protected]>