From: K. Y. Srinivasan Date: Wed, 18 Mar 2015 19:29:27 +0000 (-0700) Subject: Drivers: hv: vmbus: Fix a bug in rescind processing in vmbus_close_internal() X-Git-Tag: omap-for-v4.1/fixes-rc1~73^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2eddbc9f1a466329c68f3b75e89cfacd2792365;p=pandora-kernel.git 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 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed