usbnet: Stop RX Q on MTU change
authorSoohoon Lee <Soohoon.Lee@f5.com>
Wed, 29 Jun 2016 19:07:21 +0000 (15:07 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jun 2016 13:05:05 +0000 (09:05 -0400)
commit43daa96b166c3cf5ff30dfac0c5efa2620e4beab
tree56feb59ab0b7389f6a68eba14763db87d7d4b184
parentfedbb6b4ff341c1e2120f4ffbf367fd78ac3e8f3
usbnet: Stop RX Q on MTU change

When MTU is changed unlink_urbs() flushes RX Q but mean while usbnet_bh()
can fill up the Q at the same time.
Depends on which HCD is down there unlink takes long time then the flush
never ends.

Signed-off-by: Soohoon Lee <soohoon.lee@f5.com>
Reviewed-by: Kimball Murray <kmurray@f5.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c