summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/mm/extable.c
diff options
context:
space:
mode:
authorBjørn Mork2012-07-27 01:11:43 +0200
committerGreg Kroah-Hartman2012-08-10 20:51:43 +0200
commit032129cb03df196c4216a82295e6555539da4ce7 (patch)
tree8a48ac257883a949d4b953e5cdbc139bfb7684b0 /arch/unicore32/mm/extable.c
parentusb: serial: prevent suspend/resume from racing against probe/remove (diff)
downloadkernel-qcow2-linux-032129cb03df196c4216a82295e6555539da4ce7.tar.gz
kernel-qcow2-linux-032129cb03df196c4216a82295e6555539da4ce7.tar.xz
kernel-qcow2-linux-032129cb03df196c4216a82295e6555539da4ce7.zip
usb: usb_wwan: resume/suspend can be called after port is gone
We cannot unconditionally access any usb-serial port specific data from the interface driver. Both supending and resuming may happen after the port has been removed and portdata is freed. Treat ports with no portdata as closed ports to avoid a NULL pointer dereference on resume. No need to kill URBs for removed ports on suspend, avoiding the same NULL pointer reference there. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/unicore32/mm/extable.c')
0 files changed, 0 insertions, 0 deletions