diff options
author | Luca Tettamanti <[email protected]> | 2010-09-22 10:41:58 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-09-22 13:52:45 -0700 |
commit | ec5a32f67c603b11d68eb283d94eb89a4f6cfce1 (patch) | |
tree | 5f7d7f48f40bf998390da7da43ef40dddfb3d933 /net/unix/sysctl_net_unix.c | |
parent | 56b49f4b8f6728b91d10c556c116175051b77b60 (diff) |
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: [email protected]
Signed-off-by: Luca Tettamanti <[email protected]>
Acked-by: Chris Snook <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions