Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719627 > unrolled thread

Re: [PATCH 1/1] Drivers: hv: vmbus: Fix rescind handling issues

Started byStephen Hemminger <stephen@networkplumber.org>
First post2017-08-25 00:50 +0200
Last post2017-08-25 00:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/1] Drivers: hv: vmbus: Fix rescind handling issues Stephen Hemminger <stephen@networkplumber.org> - 2017-08-25 00:50 +0200

#1719627 — Re: [PATCH 1/1] Drivers: hv: vmbus: Fix rescind handling issues

FromStephen Hemminger <stephen@networkplumber.org>
Date2017-08-25 00:50 +0200
SubjectRe: [PATCH 1/1] Drivers: hv: vmbus: Fix rescind handling issues
Message-ID<ui96N-4fO-1@gated-at.bofh.it>
On Fri, 11 Aug 2017 10:03:59 -0700
kys@exchange.microsoft.com wrote:

> From: K. Y. Srinivasan <kys@microsoft.com>
> 
> This patch handles the following issues that were observed when we are
> handling racing channel offer message and rescind message for the same
> offer:
> 
> 1. Since the host does not respond to messages on a rescinded channel,
> in the current code, we could be indefinitely blocked on the vmbus_open() call.
> 
> 2. When a rescinded channel is being closed, if there is a pending interrupt on the
> channel, we could end up freeing the channel that the interrupt handler would run on.
> 
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> Reviewed-by: Dexuan Cui <decui@microsoft.com>
> Tested-by: Dexuan Cui <decui@microsoft.com>

This patch breaks re-initialization of the network device on MTU changes.

Doing:
	# ip li set dev eth1 mtu 9000

will hang in rndis_filter_add waiting for subchannel notification.
This is likely because when the vmbus device is reopened the sub channels
are not correctly created.  Not sure what is wrong with the patch, but my
suspicion is that the close/rescind events are no longer being sent to the
host.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web