summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDenis Joseph Barrow <D.Barow@option.com>2008-11-25 00:27:50 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-25 00:27:50 -0800
commit4a3e818181e1baf970e9232ca8b747e233176b87 (patch)
tree81b61003ba0ab52b89cca0792fab63c12aeff344 /Makefile
parentbab04c3adbb55aeb5e8db60522f14ce0bb0d4179 (diff)
downloadkernel-crypto-4a3e818181e1baf970e9232ca8b747e233176b87.tar.gz
kernel-crypto-4a3e818181e1baf970e9232ca8b747e233176b87.tar.xz
kernel-crypto-4a3e818181e1baf970e9232ca8b747e233176b87.zip
hso: Fix crashes on close.
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 <D.Barow@option.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions