diff options
author | Yinglin Luan <synmyth@gmail.com> | 2011-06-25 18:12:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-29 05:57:35 -0700 |
commit | 55caa9241ece1c07a930e3d05a624061adcf2653 (patch) | |
tree | 58747dba1d8c7711f8187216d1e433841bcd91ad /arch/mn10300 | |
parent | 7ab24bfdf9a9a9f87ac8e5ad9a25f80b5b947be7 (diff) |
rionet: fix NULL pointer dereference in rionet_remove
Function rionet_remove initializes local variable 'ndev' to NULL
and do nothing changes before the call to unregister_netdev(ndev),
this could cause a NULL pointer dereference.
Reported-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Yinglin Luan <synmyth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions