This is a note to let you know that I've just added the patch titled Drivers: hv: vmbus: Cleanup vmbus_establish_gpadl() to the 3.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drivers-hv-vmbus-cleanup-vmbus_establish_gpadl.patch and it can be found in the queue-3.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 72c6b71c245dac8f371167d97ef471b367d0b66b Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx> Date: Wed, 27 Aug 2014 16:25:34 -0700 Subject: Drivers: hv: vmbus: Cleanup vmbus_establish_gpadl() From: "K. Y. Srinivasan" <kys@xxxxxxxxxxxxx> commit 72c6b71c245dac8f371167d97ef471b367d0b66b upstream. Eliminate the call to BUG_ON() by waiting for the host to respond. We are trying to reclaim the ownership of memory that was given to the host and so we will have to wait until the host responds. Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx> Tested-by: Sitsofe Wheeler <sitsofe@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/hv/channel.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c @@ -362,7 +362,6 @@ int vmbus_establish_gpadl(struct vmbus_c u32 next_gpadl_handle; unsigned long flags; int ret = 0; - int t; next_gpadl_handle = atomic_read(&vmbus_connection.next_gpadl_handle); atomic_inc(&vmbus_connection.next_gpadl_handle); @@ -409,9 +408,7 @@ int vmbus_establish_gpadl(struct vmbus_c } } - t = wait_for_completion_timeout(&msginfo->waitevent, 5*HZ); - BUG_ON(t == 0); - + wait_for_completion(&msginfo->waitevent); /* At this point, we received the gpadl created msg */ *gpadl_handle = gpadlmsg->gpadl; Patches currently in stable-queue which might be from kys@xxxxxxxxxxxxx are queue-3.14/drivers-hv-vmbus-cleanup-vmbus_teardown_gpadl.patch queue-3.14/drivers-hv-vmbus-cleanup-vmbus_establish_gpadl.patch queue-3.14/drivers-hv-vmbus-cleanup-vmbus_close_internal.patch queue-3.14/drivers-hv-vmbus-cleanup-vmbus_post_msg.patch queue-3.14/drivers-hv-vmbus-fix-a-bug-in-vmbus_open.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html