diff options
author | 2010-09-27 10:18:52 -0700 | |
---|---|---|
committer | 2010-10-07 08:00:23 -0700 | |
commit | 6bc18876ba01fd4a077db6e1ed27201e4bda8864 (patch) | |
tree | 145b14be550e359e2a5a9f594f54f870d46fd926 /tools/perf/scripts/python/syscall-counts.py | |
parent | ceph: fix list_add usage on unsafe_writes list (diff) | |
download | linux-dev-6bc18876ba01fd4a077db6e1ed27201e4bda8864.tar.xz linux-dev-6bc18876ba01fd4a077db6e1ed27201e4bda8864.zip |
ceph: avoid null deref in osd request error path
If we interrupt an osd request, we call __cancel_request, but it wasn't
verifying that req->r_osd was non-NULL before dereferencing it. This could
cause a crash if osds were flapping and we aborted a request on said osd.
Reported-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions