Files
linux/drivers/net/atlx
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-10-28 21:44:03 -07:00
2008-11-02 08:00:15 -05:00
2008-11-02 07:59:55 -05:00
2008-11-02 07:59:55 -05:00
2008-09-18 11:34:52 -04:00