Re: [PATCH] HID: hidraw: fixed hidraw_disconnect()

From
Jiri Kosina <hidden>
Date
2011-02-01 10:21:28
Also in
lkml
Reply to
Stefan Achatz, 2011-01-29
On Sat, 29 Jan 2011, Stefan Achatz wrote:
hidraw_disconnect() first sets an entry in hidraw_table to NULL
and calls device_destroy() afterwards. The thereby called
hidraw_release() tries to read this already cleared value resulting
in never removing any device from the list.
This got fixed by changing the order of events.
Applied, good catch. Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
Thread (2 messages) 2 messages, 2 authors, last reply 2011-02-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help