[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54613FA4.8040802@kernel.dk>
Date: Mon, 10 Nov 2014 15:43:48 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Tony Battersby <tonyb@...ernetics.com>, linux-scsi@...r.kernel.org,
"James E.J. Bottomley" <JBottomley@...allels.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: Fix more error handling in SCSI_IOCTL_SEND_COMMAND
On 2014-11-10 15:40, Tony Battersby wrote:
> Fix an error path in SCSI_IOCTL_SEND_COMMAND that calls
> blk_put_request(rq) on an invalid IS_ERR(rq) pointer.
>
> Fixes: a492f075450f ("block,scsi: fixup blk_get_request dead queue scenarios")
> Signed-off-by: Tony Battersby <tonyb@...ernetics.com>
Thanks, good catch. Might be an idea to have blk_put_request() do
warn-and-return check on error pointers being passed in, just in case.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists