diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2015-07-13 13:09:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-15 21:11:31 -0700 |
commit | 2de8530ba0c71a2fba02590681af0f3a2a187a9b (patch) | |
tree | 3efd6506afccfdbd8de3136d3f498198d408d4c7 /drivers/iommu/iommu-traces.c | |
parent | c0b8da1e7613a11ce7e44560aae507b62da1f846 (diff) | |
download | lwn-2de8530ba0c71a2fba02590681af0f3a2a187a9b.tar.gz lwn-2de8530ba0c71a2fba02590681af0f3a2a187a9b.zip |
hv_netvsc: Add close of RNDIS filter into change mtu call
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 <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/iommu/iommu-traces.c')
0 files changed, 0 insertions, 0 deletions