diff options
author | Alan Cox <alan@linux.intel.com> | 2009-06-11 13:46:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 17:51:01 +0200 |
commit | 5f0878acba7db24323f5ba4055ec9a96895bb150 (patch) | |
tree | 4e92e6a29ea537b62276d0902b499c3ee6779dd8 /drivers/connector | |
parent | pty: Fix a comment (diff) | |
download | linux-5f0878acba7db24323f5ba4055ec9a96895bb150.tar.xz linux-5f0878acba7db24323f5ba4055ec9a96895bb150.zip |
tty: Fix oops when scanning the polling list for kgdb
Costantino Leandro found a bug in tty_find_polling_driver and provided a
patch that fixed the crash but not the underlying bug. This fixes the
underlying bug where the list walk corrupts the values it is using on a
match but then reuses them if the open fails.
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions