commit | 14b032b8f8fce03a546dcf365454bec8c4a58d7d | [log] [tgz] |
---|---|---|
author | Cong Wang <xiyou.wangcong@gmail.com> | Thu Jul 09 16:28:44 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 09 16:28:44 2020 -0700 |
tree | 1ec04893c8a8055b730cc597d368415e619ac0cc | |
parent | ce69e563b325f620863830c246a8698ccea52048 [diff] |
cgroup: Fix sock_cgroup_data on big-endian. 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>