diff options
author | Elina Pasheva <epasheva@sierrawireless.com> | 2010-02-15 14:50:14 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:55:03 -0800 |
commit | b87c6e86dac1bb5222279cc8ff7e09529e1c4ed9 (patch) | |
tree | 01c52edb21677004ad1a64c20f1f3f965ee13b27 /drivers/usb/host | |
parent | 7650cd9678df29b01d1e46a9d2ce7e5d8c72b3ce (diff) | |
download | op-kernel-dev-b87c6e86dac1bb5222279cc8ff7e09529e1c4ed9.zip op-kernel-dev-b87c6e86dac1bb5222279cc8ff7e09529e1c4ed9.tar.gz |
USB: serial: sierra driver indat_callback fix
A crash has been reported with sierra driver on disconnect with
Ubuntu/Lucid distribution based on kernel-2.6.32.
The cause of the crash was determined as "NULL tty pointer was being
referenced" and the NULL pointer was passed by sierra_indat_callback().
This patch modifies sierra_indat_callback() function to check for NULL
tty structure pointer. This modification prevents a crash from happening
when the device is disconnected.
This patch fixes the bug reported in Launchpad:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/511157
Signed-off-by: Elina Pasheva <epasheva@sierrawireless.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions