diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-02-04 05:34:02 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 17:34:02 +0100 |
commit | 2da8cbf8a6b454296c9db7b57cac72d5a39e3aa7 (patch) | |
tree | 6c936d599c04ebf8e4979162de896c6017d64a48 /drivers/net/loopback.c | |
parent | ath9k: Fix kernel panic during driver initilization (diff) | |
download | linux-2da8cbf8a6b454296c9db7b57cac72d5a39e3aa7.tar.xz linux-2da8cbf8a6b454296c9db7b57cac72d5a39e3aa7.zip |
mwifiex: add NULL checks in driver unload path
If driver load is failed, sometimes few pointers may remain
uninitialized ex. priv->wdev, priv->netdev, adapter->sleep_cfm
This will cause NULL pointer dereferance while unloading the
driver.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions