commit | 55caa9241ece1c07a930e3d05a624061adcf2653 | [log] [tgz] |
---|---|---|
author | Yinglin Luan <synmyth@gmail.com> | Sat Jun 25 18:12:12 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 29 05:57:35 2011 -0700 |
tree | 58747dba1d8c7711f8187216d1e433841bcd91ad | |
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>