Re: [Bluez-devel] Oops involving RFCOMM and sysfs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tejun Heo <htejun@...>
Cc: Gabor Gombas <gombasg@...>, Dave Young <hidave.darkstar@...>, <linux-kernel@...>, <bluez-devel@...>, Greg KH <greg@...>, <ebiederm@...>
Date: Saturday, January 5, 2008 - 11:35 pm

On Sun, Jan 06, 2008 at 11:54:43AM +0900, Tejun Heo wrote:

All it takes is kobject_rename() or kobject_move() called asynchronously 
wrt removal...  I don't see an explicit ban for that.

FWIW, what happens here *is* fishy, but I don't see an outright ban on
that in documentation - rfcomm_tty_open() does
                device_move(dev->tty_dev, rfcomm_get_device(dev));
when we get openers, rfcomm_tty_close() does
                device_move(dev->tty_dev, NULL);
when the number of openers hits zero.  Can happen repeatedly.

Note that device_move() with new parent being NULL is explicitly allowed
and handled, so...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Oops involving RFCOMM and sysfs, Gabor Gombas, (Fri Dec 28, 1:32 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Sat Dec 29, 4:07 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 2, 11:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 10:13 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 11:24 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 5:00 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Tue Jan 8, 5:42 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Tue Jan 8, 9:32 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Wed Jan 9, 5:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Thu Jan 10, 6:15 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Wed Jan 9, 9:11 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Fri Jan 11, 7:09 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Mon Jan 14, 3:05 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Mon Jan 14, 8:52 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Mon Jan 14, 9:57 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Tue Jan 15, 9:02 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 16, 7:06 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 3:24 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 4:15 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Thu Jan 17, 7:42 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 17, 11:37 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 5:19 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 6:23 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Fri Jan 18, 6:34 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Fri Jan 18, 7:26 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Sun Jan 20, 11:15 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Cornelia Huck, (Wed Jan 9, 11:57 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 10:30 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 10:07 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sun Jan 6, 10:37 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Eric W. Biederman, (Mon Jan 7, 4:21 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 5:17 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 5:18 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Eric W. Biederman, (Mon Jan 7, 6:33 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 10:54 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Al Viro, (Sat Jan 5, 11:35 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Sat Jan 5, 11:54 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Thu Jan 3, 9:16 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Dave Young, (Thu Jan 3, 9:05 pm)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Mon Jan 7, 10:10 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Tejun Heo, (Mon Jan 7, 4:07 am)
Re: [Bluez-devel] Oops involving RFCOMM and sysfs, Gabor Gombas, (Wed Jan 2, 10:48 am)