summaryrefslogtreecommitdiff
path: root/mm/zbud.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2020-03-20 16:45:45 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 13:12:46 +0200
commit75bd1d78e8a5e0d01ed2ad58711462f3b9303e72 (patch)
treebfe9791d07d0c44217c6911545a39b6eee418e23 /mm/zbud.c
parent8a42f87c75dfa504f49ae95b504ee57d30821b8a (diff)
downloadlinux-rt-75bd1d78e8a5e0d01ed2ad58711462f3b9303e72.tar.gz
ceph: fix potential race in ceph_check_caps
[ Upstream commit dc3da0461cc4b76f2d0c5b12247fcb3b520edbbf ] Nothing ensures that session will still be valid by the time we dereference the pointer. Take and put a reference. In principle, we should always be able to get a reference here, but throw a warning if that's ever not the case. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions