summaryrefslogtreecommitdiff
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2017-03-29 15:30:24 +0800
committerIlya Dryomov <idryomov@gmail.com>2017-05-04 09:19:20 +0200
commit0a07fc8cd01b6838d999a5eacaa99fe90b8f768b (patch)
tree266cad4b91bc6eaf3be28e749e3228c1baf37a83 /lib/test_bpf.c
parent76201b6354bb3aa31c7ba2bd42b9cbb8dda71c44 (diff)
ceph: fix potential use-after-free
__unregister_session() free the session if it drops the last reference. We should grab an extra reference if we want to use session after __unregister_session(). Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions