Re: [PATCH 4.12 004/106] scsi: sg: fix SG_DXFER_FROM_DEV transfers

From: Greg Kroah-Hartman
Date: Thu Aug 10 2017 - 11:11:46 EST


On Thu, Aug 10, 2017 at 08:14:14AM +0200, Johannes Thumshirn wrote:
> On Wed, Aug 09, 2017 at 09:51:48AM -0700, Greg KH wrote:
> > 4.12-stable review patch. If anyone has any objections, please let me know.
>
> Yep I do, please don't use this one. It has a follow up/was superseded by:
> f930c7043663 ("scsi: sg: only check for dxfer_len greater than 256M")
> in Linus' tree
>
> (Yes I know I explicitly sent it to stable, mea culpa)

"superseeded" implies that this patch needs to be applied in order for
the "new" one to work properly. So I tried applying it, but it doesn't
apply cleanly. Then I tried by removing this patch and then applying
the new one. That too didn't work at all.

So, what am I supposed to do here? Leave this in, and apply something
else between it and the newer one? Drop this and you provide a
backport? Something else?

Totally confusing...

greg k-h