summaryrefslogtreecommitdiff
path: root/net/irda
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-07-27 13:58:08 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-27 23:23:22 +0400
commitb68f2fb9e73f46037fbeca5fbd4ae8a7ddd8ef6b (patch)
tree1149afd6c48dcb408f01e75ad250165522693188 /net/irda
parent6a31d4aeab85a02f9a57ca37b935054393daa794 (diff)
downloadlinux-b68f2fb9e73f46037fbeca5fbd4ae8a7ddd8ef6b.tar.xz
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 <daniel@caiaq.de> Signed-off-by: Alan Cox <alan@linux.intel.com> Tested-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions