From: Haiyang Zhang Date: Mon, 13 Jul 2015 20:09:16 +0000 (-0700) Subject: hv_netvsc: Add close of RNDIS filter into change mtu call X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~357 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2de8530ba0c71a2fba02590681af0f3a2a187a9b;p=pandora-kernel.git 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 Reviewed-by: K. Y. Srinivasan Signed-off-by: David S. Miller --- Reading git-diff-tree failed