diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2017-03-12 20:00:30 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-16 16:42:33 +0900 |
commit | 5e030d5ce9d99a899b648413139ff65bab12b038 (patch) | |
tree | 2d6a00d5cc39319490f3d686a8aec22ae16b5443 /fs/fs_pin.c | |
parent | 9a5476020a5f06a0fc6f17097efc80275d2f03cd (diff) | |
download | linux-5e030d5ce9d99a899b648413139ff65bab12b038.tar.bz2 |
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: ccb61f8a99e6 ("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>
Diffstat (limited to 'fs/fs_pin.c')
0 files changed, 0 insertions, 0 deletions