]> git.baikalelectronics.ru Git - kernel.git/commit
b43: fix invalid memory access in b43_ssb_remove()
authorPavel Roskin <proski@gnu.org>
Fri, 22 Jul 2011 22:07:13 +0000 (18:07 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 26 Jul 2011 20:27:31 +0000 (16:27 -0400)
commitd8a55d9696a00706585053a7be59998b98b21c88
tree98bed4e7d4ec3a9b40be228e825eebee0e911aca
parentde90a89bd144ff625aa9072f4e501da9ff68fa44
b43: fix invalid memory access in b43_ssb_remove()

wldev is freed in b43_one_core_detach() and should not be accessed after
that call.  Keep wldev->dev in a local variable.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c