https://github.com/torvalds/linux
Revision dcf78d80a6c2de829ec08c8e663a3370e982d616 authored by Karsten Wiese on 14 June 2005, 16:56:20 UTC, committed by Linus Torvalds on 14 June 2005, 18:05:13 UTC
Without this patch, some usb kobjects, which are parents to the usx2y's kobjects can be freed before the usx2y's. This led to an oops in get_kobj_path_length() and a dead keyboard, when the usx2y's kobjects were freed. The patch ensures the correct sequence. Tested ok on kernel 2.6.12-rc2. Present in ALSA cvs Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent efa93db
Tip revision: dcf78d80a6c2de829ec08c8e663a3370e982d616 authored by Karsten Wiese on 14 June 2005, 16:56:20 UTC
[PATCH] usbusx2y: prevent oops & dead keyboard on usb unplugging while the device is being used
[PATCH] usbusx2y: prevent oops & dead keyboard on usb unplugging while the device is being used
Tip revision: dcf78d8
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 615 bytes |
bootmem.c | -rw-r--r-- | 10.5 KB |
fadvise.c | -rw-r--r-- | 2.4 KB |
filemap.c | -rw-r--r-- | 57.9 KB |
fremap.c | -rw-r--r-- | 6.3 KB |
highmem.c | -rw-r--r-- | 13.7 KB |
hugetlb.c | -rw-r--r-- | 6.1 KB |
internal.h | -rw-r--r-- | 486 bytes |
madvise.c | -rw-r--r-- | 6.4 KB |
memory.c | -rw-r--r-- | 59.2 KB |
mempolicy.c | -rw-r--r-- | 28.8 KB |
mempool.c | -rw-r--r-- | 7.7 KB |
mincore.c | -rw-r--r-- | 4.4 KB |
mlock.c | -rw-r--r-- | 5.3 KB |
mmap.c | -rw-r--r-- | 52.8 KB |
mprotect.c | -rw-r--r-- | 6.5 KB |
mremap.c | -rw-r--r-- | 10.6 KB |
msync.c | -rw-r--r-- | 5.5 KB |
nommu.c | -rw-r--r-- | 27.6 KB |
oom_kill.c | -rw-r--r-- | 7.4 KB |
page-writeback.c | -rw-r--r-- | 22.7 KB |
page_alloc.c | -rw-r--r-- | 54.9 KB |
page_io.c | -rw-r--r-- | 3.6 KB |
pdflush.c | -rw-r--r-- | 5.8 KB |
prio_tree.c | -rw-r--r-- | 6.3 KB |
readahead.c | -rw-r--r-- | 15.8 KB |
rmap.c | -rw-r--r-- | 22.7 KB |
shmem.c | -rw-r--r-- | 57.6 KB |
slab.c | -rw-r--r-- | 81.4 KB |
swap.c | -rw-r--r-- | 12.0 KB |
swap_state.c | -rw-r--r-- | 9.3 KB |
swapfile.c | -rw-r--r-- | 41.4 KB |
thrash.c | -rw-r--r-- | 2.6 KB |
tiny-shmem.c | -rw-r--r-- | 2.7 KB |
truncate.c | -rw-r--r-- | 8.9 KB |
vmalloc.c | -rw-r--r-- | 13.1 KB |
vmscan.c | -rw-r--r-- | 35.1 KB |
Computing file changes ...