diff options
| author | Alan Cox <[email protected]> | 2009-07-27 09:58:08 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-07-27 19:23:22 +0000 |
| commit | b68f2fb9e73f46037fbeca5fbd4ae8a7ddd8ef6b (patch) | |
| tree | 1149afd6c48dcb408f01e75ad250165522693188 /lib/dynamic_debug.c | |
| parent | Merge branch 'fixes-for-linus' of git://git.monstr.eu/linux-2.6-microblaze (diff) | |
| download | kernel-b68f2fb9e73f46037fbeca5fbd4ae8a7ddd8ef6b.tar.gz kernel-b68f2fb9e73f46037fbeca5fbd4ae8a7ddd8ef6b.zip | |
tty: Fix a USB serial crash/scribble
The port lock is used to protect the port state. However the port structure
is freed on a hangup, then the lock taken on a close. The right fix is to
drop the port on tty->shutdown() but we can't yet do that due to sleep v
non-sleeping rules. Instead do the next best thing and fix it up when we are
not in -rc season.
Reported-by: Daniel Mack <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Tested-by: Daniel Mack <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
