Re: [PATCH 3.16 42/61] scsi: sg: don't return bogus Sg_requests

2020-06-09 Thread Ben Hutchings
On Tue, 2020-06-09 at 14:28 -0400, Tony Battersby wrote: > On 6/9/20 2:04 PM, Ben Hutchings wrote: > > 3.16.85-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Johannes Thumshirn > > > > commit

Re: [PATCH 3.16 42/61] scsi: sg: don't return bogus Sg_requests

2020-06-09 Thread Tony Battersby
On 6/9/20 2:04 PM, Ben Hutchings wrote: > 3.16.85-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Johannes Thumshirn > > commit 48ae8484e9fc324b4968d33c585e54bc98e44d61 upstream. > > If the list search in sg_get_rq_mark() fails to find a valid

[PATCH 3.16 42/61] scsi: sg: don't return bogus Sg_requests

2020-06-09 Thread Ben Hutchings
3.16.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn commit 48ae8484e9fc324b4968d33c585e54bc98e44d61 upstream. If the list search in sg_get_rq_mark() fails to find a valid request, we return a bogus element. This then can