The commit is pushed to "branch-rh7-3.10.0-693.17.1.vz7.45.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-693.17.1.vz7.45.4 ------> commit cae2d7c888f9f59ce3d782d0fc5ea58b96a566c6 Author: Dmitry Monakhov <dmonak...@openvz.org> Date: Tue Feb 27 14:09:43 2018 +0300
ploop: kaio_io_page fix kreq leak after error Fixes: ad01e6c68568 ("ploop: kaio_io_page switch to bvec iter") Signed-off-by: Dmitry Monakhov <dmonak...@openvz.org> --- drivers/block/ploop/io_kaio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/ploop/io_kaio.c b/drivers/block/ploop/io_kaio.c index 42ba13b82e35..54604065c64e 100644 --- a/drivers/block/ploop/io_kaio.c +++ b/drivers/block/ploop/io_kaio.c @@ -696,6 +696,7 @@ kaio_io_page(struct ploop_io * io, int op, struct ploop_request * preq, preq->eng_state, preq->state, pos); PLOOP_REQ_SET_ERROR(preq, err); ploop_complete_io_request(preq); + kfree(kreq); } out: _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel