Files
linux/drivers
Luca Tettamanti 0e032468da atl1: fix resume
commit ec5a32f67c upstream.

adapter->cmb.cmb is initialized when the device is opened and freed when
it's closed. Accessing it unconditionally during resume results either
in a crash (NULL pointer dereference, when the interface has not been
opened yet) or data corruption (when the interface has been used and
brought down adapter->cmb.cmb points to a deallocated memory area).

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Acked-by: Chris Snook <chris.snook@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-28 21:44:03 -07:00
..
2010-08-26 16:41:51 -07:00
2010-08-26 16:41:42 -07:00
2010-10-28 21:44:03 -07:00
2010-08-02 10:20:53 -07:00
2010-08-13 13:20:13 -07:00
2010-08-10 10:20:51 -07:00
2010-08-02 10:20:42 -07:00
2010-10-01 13:51:42 -07:00
2010-05-12 14:57:15 -07:00