Re: [PATCH usbnet v2.1] mtu change needs to stop RX

2016-06-28 Thread David Miller
From: Soohoon Lee Date: Fri, 24 Jun 2016 00:30:16 + > > 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

[PATCH usbnet v2.1] mtu change needs to stop RX

2016-06-23 Thread Soohoon Lee
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 Reviewed-by: Kimball Murray diff --git a/drivers/net/usb/usbnet.c b/dr