summaryrefslogtreecommitdiff
path: root/drivers/net/LICENSE.SRC
diff options
context:
space:
mode:
authorLuca Tettamanti <kronos.it@gmail.com>2010-09-22 10:41:58 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-09-22 20:52:45 (GMT)
commitec5a32f67c603b11d68eb283d94eb89a4f6cfce1 (patch)
tree5f7d7f48f40bf998390da7da43ef40dddfb3d933 /drivers/net/LICENSE.SRC
parent56b49f4b8f6728b91d10c556c116175051b77b60 (diff)
downloadlinux-fsl-qoriq-ec5a32f67c603b11d68eb283d94eb89a4f6cfce1.tar.xz
atl1: fix resume
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). Cc: stable@kernel.org 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>
Diffstat (limited to 'drivers/net/LICENSE.SRC')
0 files changed, 0 insertions, 0 deletions