Thread (1 message) 1 message, 1 author, 2008-11-25

Re: respin of hso patches for linux-2.6.28-rc6 hso_close_fix.patch [patch 2/6 ]

From: David Miller <hidden>
Date: 2008-11-25 08:29:50

From: Denis Joseph Barrow <redacted>
Date: Mon, 24 Nov 2008 15:42:34 +0100
Moved serial_open_count in hso_serial_open to
prevent crashes owing to the serial structure being made NULL
when hso_serial_close is called even though hso_serial_open
returned -ENODEV, Alan Cox pointed out this happens,
also put in sanity check in hso_serial_close
to check for a valid serial structure which should prevent
the most reproducable crash in the driver when the hso device
is disconnected while in use.
Signed-off-by: Denis Joseph Barrow <redacted>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help