From: Yinglin Luan Date: Sat, 25 Jun 2011 18:12:12 +0000 (+0000) Subject: rionet: fix NULL pointer dereference in rionet_remove X-Git-Tag: v3.0-rc6~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55caa9241ece1c07a930e3d05a624061adcf2653;p=pandora-kernel.git 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 Signed-off-by: Yinglin Luan Signed-off-by: David S. Miller --- Reading git-diff-tree failed