linux/drivers/hv
Vitaly Kuznetsov 9c3a6f7e47 Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer()
vmbus_device_create() result is not being checked in vmbus_process_offer() and
it can fail if kzalloc() fails. Add the check and do minor cleanup to avoid
additional duplication of "free_channel(); return;" block.

Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-25 09:18:00 -08:00
..
channel_mgmt.c Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer() 2015-01-25 09:18:00 -08:00
channel.c Drivers: hv: vmbus: Support a vmbus API for efficiently sending page arrays 2015-01-25 09:17:58 -08:00
connection.c Drivers: hv: vmbus: Use get_cpu() to get the current CPU 2015-01-12 05:04:10 -08:00
hv_balloon.c Drivers: hv: hv_balloon: Don't post pressure status from interrupt context 2015-01-25 09:17:57 -08:00
hv_fcopy.c hv: hv_fcopy: drop the obsolete message on transfer failure 2015-01-25 09:17:58 -08:00
hv_kvp.c Drivers: hv: kvp,vss: Fast propagation of userspace communication failure 2014-11-26 19:00:32 -08:00
hv_snapshot.c Drivers: hv: kvp,vss: Fast propagation of userspace communication failure 2014-11-26 19:00:32 -08:00
hv_util.c Drivers: hv: util: Fix a bug in the KVP code 2014-07-09 14:34:35 -07:00
hv.c Drivers: hv: vmbus: Implement a clockevent device 2015-01-25 09:17:57 -08:00
hyperv_vmbus.h Drivers: hv: vmbus: Implement a clockevent device 2015-01-25 09:17:57 -08:00
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: Implement the file copy service 2014-02-18 10:53:48 -08:00
ring_buffer.c Drivers: hv: vmbus: Enable interrupt driven flow control 2014-09-23 23:31:22 -07:00
vmbus_drv.c Drivers: hv: vmbus: Implement a clockevent device 2015-01-25 09:17:57 -08:00