lkml.org 
[lkml]   [2008]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.26-rc1: warnings from sysfs, bluetooth related
Hi!

> > I'm getting these from rfcomm...
>
>
> Are you sure it's a regression?

No, I'm not sure it is an regression. I have not seen it in a while,
and I seen it on -rc1. It does not seem to be too repeatable.

> Dont know if it's same bug as BUG 10341. I just describe the problem
> in bug 10341:
>
> While a rfcomm device is opened more than once, the BUG 10341 can be triggered.
>
> rfcomm dev reference will be held for every rfcomm_tty_open, but release_dev
> will hangup the tty and release the dev number for free use without
> judge the dev->opened.
>
> rfcomm_dev_state_change and rfcomm_tty_hangup could del the rfcomm dev
> as well, the problem is similar as above.
>
> If the create_dev called before the last tty_close, sysfs will
> warning and create will fail.
>
> I have a patch which don't hold the dev reference in rfcomm_tty_open,
> but it need some review and test.
>
> please see:
> http://bugzilla.kernel.org/attachment.cgi?id=15746
>
> Marcel, do you have idea about this? or other solution?

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-05-15 20:19    [W:0.041 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site