lkml.org 
[lkml]   [2011]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Stable-review] [28/55] [SCSI] fix crash in scsi_dispatch_cmd()
On Sun, Aug 07, 2011 at 06:51:24PM +0100, Ben Hutchings wrote:
> On Sun, 2011-08-07 at 18:50 +0100, Ben Hutchings wrote:
> > On Fri, 2011-08-05 at 17:01 -0700, Greg KH wrote:
> > > 2.6.32-longterm review patch. If anyone has any objections, please let us know.
> > >
> > > ------------------
> > >
> > > From: James Bottomley <James.Bottomley@HansenPartnership.com>
> > >
> > > commit bfe159a51203c15d23cb3158fffdc25ec4b4dda1 upstream.
> > >
> > > USB surprise removal of sr is triggering an oops in
> > > scsi_dispatch_command(). What seems to be happening is that USB is
> > > hanging on to a queue reference until the last close of the upper
> > > device, so the crash is caused by surprise remove of a mounted CD
> > > followed by attempted unmount.
> > [...]
> >
> > This has been reported in 2.6.39.y and 3.0, but not in 2.6.32.y.
>
> That is, AFAIK.

Oops, good catch, I've dropped this from the .32 and .33 queue now, it's
not needed there at all.

greg k-h


\
 
 \ /
  Last update: 2011-08-08 19:07    [W:0.885 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site