summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSven Neumann2010-11-24 17:02:00 +0100
committerJohn W. Linville2010-11-29 20:41:27 +0100
commit16ccdf0dbc84b11bc8b7fdbad66804d06a683554 (patch)
tree26911c901e58af22b94c4e0b6539ada0f8194589 /virt
parentlibertas: fix memory corruption in lbs_remove_card() (diff)
downloadkernel-qcow2-linux-16ccdf0dbc84b11bc8b7fdbad66804d06a683554.tar.gz
kernel-qcow2-linux-16ccdf0dbc84b11bc8b7fdbad66804d06a683554.tar.xz
kernel-qcow2-linux-16ccdf0dbc84b11bc8b7fdbad66804d06a683554.zip
libertas: fix invalid access
card->priv must not be accessed after lbs_remove_card() was called as lbs_remove_card() frees card->priv via free_netdev(). For libertas_sdio this is a regression introduced by 23b149c1890f9. The correct fix to the issue described there is simply to remove the assignment. This flag is set at the appropriate time inside lbs_remove_card anyway. Reported-by: Daniel Drake <dsd@laptop.org> Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions