summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2018-05-22 17:26:51 +0300
committerIlya Dryomov <idryomov@gmail.com>2018-06-04 21:45:59 +0300
commit6001567c14eb8e93f8bceb35fc02158a3e1f20f8 (patch)
treef3eb8665a17131852e844453c281750cffcdc56c /tools/perf/util/scripting-engines/trace-event-python.c
parent29e878201ee635940ba018bce51f4ee0f0e47a5b (diff)
downloadlinux-6001567c14eb8e93f8bceb35fc02158a3e1f20f8.tar.xz
libceph: avoid a use-after-free during map check
Sending map check after complete_request() was called is not only useless, but can lead to a use-after-free as req->r_kref decrement in __complete_request() races with map check code. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Acked-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions