Re: [PATCH] evdev: Release eventual input device grabs when getting disconnected

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Monday, March 31, 2008 - 10:28 am

On Mon, Mar 31, 2008 at 02:15:39AM -0400, Dmitry Torokhov wrote:

It was "deleted" from sysfs, and should have never been used again by
any callers.  If the reference count was dropped to zero with this call,
it would be cleaned up as well, it seems that you were assuming that it
would not be?  Perhaps you just need to grab another reference as this
would have caused you problems without this change anyway, but without
slab debugging, you never saw it.


If you need any help, please let me know.

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] evdev: Release eventual input device grabs whe ..., Greg KH, (Mon Mar 31, 10:28 am)
Re: [PATCH] evdev: Release eventual input device grabs whe ..., Benjamin Herrenschmidt, (Mon Mar 31, 4:12 pm)
Re: [PATCH] evdev: Release eventual input device grabs whe ..., Benjamin Herrenschmidt, (Mon Mar 31, 6:01 pm)