commit | 65888672c390f53d7c3b86c0a3c93c06b290a5f7 | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Thu Jul 09 16:28:44 2020 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 22 09:10:49 2020 +0200 |
tree | 0dc3db599ba6da7b33d40430e85b8a1a1f1f06ac | |
parent | 51fbad61b1dc2a082c7f7dbc3b1299a1e40c061a [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 <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>