USB: serial: use urb poison to reliably kill traffic
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:36:49 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:48:27 +0000 (13:48 -0700)
commit6a5c821cad1459ec2b5fd5778f46d13c4255a7bf
tree7cd6c147e24f764f78a8a8a9e29af0d505806210
parent68a2bed130a10cffbf68620f41d08a900b1d776b
USB: serial: use urb poison to reliably kill traffic

Use usb_poison_urb to reliably kill all urbs on disconnect and suspend.

This way there will be no question that the urbs cannot be resubmitted
by buggy subdrivers.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb-serial.c