summaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-10-26 11:03:46 +0100
committerIlya Dryomov <idryomov@gmail.com>2015-11-02 23:36:48 +0100
commitcbf99a11fb14db0835acd79ecd7469d37e398660 (patch)
tree6d9b61ad72fd9cecd013e2dd70388d55e6491a9d /ipc/shm.c
parent5e804ac4824302efc3038e086cb21f2e93ab8900 (diff)
downloadlinux-stable-cbf99a11fb14db0835acd79ecd7469d37e398660.tar.gz
linux-stable-cbf99a11fb14db0835acd79ecd7469d37e398660.tar.bz2
linux-stable-cbf99a11fb14db0835acd79ecd7469d37e398660.zip
libceph: introduce ceph_x_authorizer_cleanup()
Commit ae385eaf24dc ("libceph: store session key in cephx authorizer") introduced ceph_x_authorizer::session_key, but didn't update all the exit/error paths. Introduce ceph_x_authorizer_cleanup() to encapsulate ceph_x_authorizer cleanup and switch to it. This fixes ceph_x_destroy(), which currently always leaks key and ceph_x_build_authorizer() error paths. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions