From: Dan Carpenter Date: Thu, 4 Sep 2014 11:11:23 +0000 (+0300) Subject: hyperv: NULL dereference on error X-Git-Tag: fixes-against-v3.18-rc2~81^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1c849276b5e199f94501101c07ee9cb6ced4935;p=pandora-kernel.git hyperv: NULL dereference on error We try to call free_netvsc_device(net_device) when "net_device" is NULL. It leads to an Oops. Fixes: f90251c8a6d0 ('hyperv: Increase the buffer length for netvsc_channel_cb()') Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed