lkml.org 
[lkml]   [2009]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [usb-serial] fix Ooops on uplug
On Tue, 21 Jul 2009 12:11:39 -0400 (EDT)
Alan Stern <stern@rowland.harvard.edu> wrote:

> On Tue, 21 Jul 2009, Alan Cox wrote:
>
> > > The problem is that freed resources are accessed, and that can lead to
> > > any kind of strange kernel faults from crashing to other subsequent
> > > errors.
> > >
> > > Did you try my patch?
>
> No.
>
> > We've already established your patch is wrong. So trying it isn't at all
> > helpful.
>
> I'll take your word for it. It will take some time to figure out
> exactly which buffers are getting used after they are freed, although
> the most likely is the usb_serial_port structure itself.
>
> Let you know what I find...

On the tty side if you look in tty_io.c there is a define

TTY_DEBUG_HANGUP

which exists especially for these sorts of events..



\
 
 \ /
  Last update: 2009-07-21 18:19    [W:0.070 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site