[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081125.002950.40297572.davem@davemloft.net>
Date: Tue, 25 Nov 2008 00:29:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: D.Barow@...ion.com
Cc: linux-usb@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: respin of hso patches for linux-2.6.28-rc6 hso_close_fix.patch
[patch 2/6 ]
From: Denis Joseph Barrow <D.Barow@...ion.com>
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 <D.Barow@...ion.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists