]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6df82a6154ec3aebf019bcde848cda78192d47c
tree56feb59ab0b7389f6a68eba14763db87d7d4b184
parent5cd9615d313ec1ad9a8595a6a9616ec8441baeec
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