Thread (2 messages) 2 messages, 2 authors, 2015-07-16

Re: [PATCH net-next] hv_netvsc: Add close of RNDIS filter into change mtu call

flat view

From: David Miller <davem@davemloft.net>
Date: 2015-07-16 04:12:27
Also in: netdev

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: Mon, 13 Jul 2015 13:09:16 -0700
The current change mtu call only stops tx before removing RNDIS filter.
In case ringbufer is not empty, the rndis_filter_device_remove() may
hang on removing the buffers.

This patch adds close of RNDIS filter before removing it, also a
gradual waiting loop until the ring is empty. The change_mtu hang
issue under heavy traffic is solved by this patch.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help