diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2010-09-22 10:41:58 +0000 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-01-06 18:08:12 -0500 |
commit | cc0d092e92438e632df7354f16656b20b3a32931 (patch) | |
tree | b7e5daf06a5de5b83ea10d562fb2f3adad35abad /arch | |
parent | 5abe67cec849afb10f065f859799a4e3384dcf9f (diff) |
atl1: fix resume
commit ec5a32f67c603b11d68eb283d94eb89a4f6cfce1 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: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions