diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2020-07-10 02:28:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-22 10:22:21 +0300 |
commit | 38505206c8295d1ae13612ace94dce16950f621b (patch) | |
tree | c45424ed967b5b91964332c281c59428a33516bb /include/drm/drm_agpsupport.h | |
parent | 82fd2138a5ffd7e0d4320cdb669e115ee976a26e (diff) | |
download | linux-38505206c8295d1ae13612ace94dce16950f621b.tar.xz |
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>
Diffstat (limited to 'include/drm/drm_agpsupport.h')
0 files changed, 0 insertions, 0 deletions