WSL2-Linux-Kernel/drivers/hv
K. Y. Srinivasan 5e030d5ce9 Drivers: hv: vmbus: Don't leak memory when a channel is rescinded
When we close a channel that has been rescinded, we will leak memory since
vmbus_teardown_gpadl() returns an error. Fix this so that we can properly
cleanup the memory allocated to the ring buffers.

Fixes: ccb61f8a99 ("Drivers: hv: vmbus: Fix a rescind handling bug")

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-16 16:42:33 +09:00
..
Kconfig
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
channel.c Drivers: hv: vmbus: Don't leak memory when a channel is rescinded 2017-03-16 16:42:33 +09:00
channel_mgmt.c Drivers: hv: vmbus: Don't leak channel ids 2017-03-16 16:42:33 +09:00
connection.c vmbus: add direct isr callback mode 2017-02-14 10:20:35 -08:00
hv.c vmbus: change to per channel tasklet 2017-02-14 10:20:35 -08:00
hv_balloon.c Drivers: hv: balloon: add a fall through comment to hv_memory_notifier() 2017-01-31 11:05:58 +01:00
hv_fcopy.c Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hv_kvp.c Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hv_snapshot.c Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hv_util.c Drivers: hv: util: don't forget to init host_ts.lock 2017-03-16 16:42:00 +09:00
hv_utils_transport.c Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hv_utils_transport.h Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hyperv_vmbus.h vmbus: constify parameters where possible 2017-02-14 10:20:35 -08:00
ring_buffer.c vmbus: replace modulus operation with subtraction 2017-02-14 10:20:35 -08:00
vmbus_drv.c vmbus: use rcu for per-cpu channel list 2017-03-16 16:42:00 +09:00