usbnet: consider device busy at each recieved packet
PATCH 1/1 usbnet: consider device busy at each recieved packet
Quoted 1 line
From
dd427382b6d3326acd6886041e8bbb432dfd4263Mon Sep 17 00:00:00 2001
From: Oliver Neukum <[email protected]>
Date: Sat, 3 Mar 2012 18:45:07 +0100
Subject: [PATCH] usbnet: consider device busy at each recieved packet
usbnet should centrally handle busy reporting in the rx path so subdrivers need not worry. This hurts use cases which do rx only or predominantly.
--- drivers/net/usb/usbnet.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/usb/usbnet.c +1 -0
@@ -493,6 +493,7 @@ block:if (netif_running (dev->net) && !test_bit (EVENT_RX_HALT , &dev->flags)) {rx_submit (dev, urb,GFP_ATOMIC ); +usb_mark_last_busy (dev->udev);return ; }usb_free_urb (urb);
Signature · 6 lines
1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 201203222135.07331.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org
From: Oliver Neukum <[email protected]>
Date: Thu, 22 Mar 2012 21:35:07 +0100
Quoted 5 lines
usbnet should centrally handle busy reporting in the rx path so subdrivers need not worry. This hurts use cases which do rx only or predominantly.
Signed-off-by Oliver Neukum <[email protected]>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html