aboutsummaryrefslogtreecommitdiff
path: root/tools/hv/hv_vss_daemon.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2015-03-18 12:29:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 11:53:54 +0100
commitf2eddbc9f1a466329c68f3b75e89cfacd2792365 (patch)
tree443414bfe8ab3fe1dcb1cac51d0607a405e54c36 /tools/hv/hv_vss_daemon.c
parentb4affbbb7217e440f80c922b2b304795758d40bb (diff)
downloadlinux-stericsson-f2eddbc9f1a466329c68f3b75e89cfacd2792365.tar.gz
Drivers: hv: vmbus: Fix a bug in rescind processing in vmbus_close_internal()
When a channel has been rescinded, the close operation is a noop. Restructure the code so we deal with the rescind condition after we properly cleanup the channel. I would like to thank Dexuan Cui <decui@microsoft.com> for observing this problem. The current code leaks memory when the channel is rescinded. The current char-next branch is broken and this patch fixes the bug. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv/hv_vss_daemon.c')
0 files changed, 0 insertions, 0 deletions