commit | b1c849276b5e199f94501101c07ee9cb6ced4935 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Sep 04 14:11:23 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 05 17:29:22 2014 -0700 |
tree | 573b7e5e189ea21351232bef5a611264136138bc | |
parent | a77f9a282a2290526a6239b17ef822ec75ac793c [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>