diff options
author | Ming Lei <tom.leiming@gmail.com> | 2013-12-05 18:50:39 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-12-05 18:50:39 +0100 |
commit | 0d11e6aca396e679c07b2dd6af5dc8b7f041fbbd (patch) | |
tree | 70c03f4a224b9fe3e7e140881d251a9472dc6149 /net/atm/lec.h | |
parent | blk-mq: fix dereference of rq->mq_ctx if allocation fails (diff) | |
download | linux-0d11e6aca396e679c07b2dd6af5dc8b7f041fbbd.tar.xz linux-0d11e6aca396e679c07b2dd6af5dc8b7f041fbbd.zip |
blk-mq: fix use-after-free of request
If accounting is on, we will do the IO completion accounting after
we have freed the request. Fix that by moving it sooner instead.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/atm/lec.h')
0 files changed, 0 insertions, 0 deletions