summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-12-21 19:10:52 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2014-12-21 22:34:43 +0100
commit5e9ec4c59a8b6dd9cf970754255ec61922462c99 (patch)
treef62e524980e365e2378ed3ea48f03679eafbf371 /patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch
parent3dc16aef2e0e29da915fc2be645bb364cd5d885f (diff)
patches: refresh patches on top of v3.18.1v3.18.1-1linux-3.18.y
1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.65 [ OK ] 4 3.3.8 [ OK ] 5 3.4.105 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.63 [ OK ] 12 3.11.10 [ OK ] 13 3.12.35 [ OK ] 14 3.13.11 [ OK ] 15 3.14.27 [ OK ] 16 3.15.10 [ OK ] 17 3.16.6 [ OK ] 18 3.17.7 [ OK ] 19 3.18.1 [ OK ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch')
-rw-r--r--patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch b/patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch
index f928dbec..fa55b100 100644
--- a/patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch
+++ b/patches/collateral-evolutions/network/0025-usb-sg/usbnet.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
-@@ -1233,6 +1233,7 @@ EXPORT_SYMBOL_GPL(usbnet_tx_timeout);
+@@ -1252,6 +1252,7 @@ EXPORT_SYMBOL_GPL(usbnet_tx_timeout);
/*-------------------------------------------------------------------------*/
@@ -8,7 +8,7 @@
static int build_dma_sg(const struct sk_buff *skb, struct urb *urb)
{
unsigned num_sgs, total_len = 0;
-@@ -1265,6 +1266,12 @@ static int build_dma_sg(const struct sk_
+@@ -1284,6 +1285,12 @@ static int build_dma_sg(const struct sk_
return 1;
}
@@ -21,7 +21,7 @@
netdev_tx_t usbnet_start_xmit (struct sk_buff *skb,
struct net_device *net)
-@@ -1321,12 +1328,19 @@ netdev_tx_t usbnet_start_xmit (struct sk
+@@ -1340,12 +1347,19 @@ netdev_tx_t usbnet_start_xmit (struct sk
if (!(info->flags & FLAG_SEND_ZLP)) {
if (!(info->flags & FLAG_MULTI_PACKET)) {
length++;
@@ -41,7 +41,7 @@
}
} else
urb->transfer_flags |= URB_ZERO_PACKET;
-@@ -1381,7 +1395,9 @@ not_drop:
+@@ -1400,7 +1414,9 @@ not_drop:
if (skb)
dev_kfree_skb_any (skb);
if (urb) {
@@ -51,7 +51,7 @@
usb_free_urb(urb);
}
} else
-@@ -1434,7 +1450,9 @@ static void usbnet_bh (unsigned long par
+@@ -1453,7 +1469,9 @@ static void usbnet_bh (unsigned long par
rx_process (dev, skb);
continue;
case tx_done:
@@ -61,7 +61,7 @@
case rx_cleanup:
usb_free_urb (entry->urb);
dev_kfree_skb (skb);
-@@ -1789,7 +1807,9 @@ int usbnet_resume (struct usb_interface
+@@ -1809,7 +1827,9 @@ int usbnet_resume (struct usb_interface
retval = usb_submit_urb(res, GFP_ATOMIC);
if (retval < 0) {
dev_kfree_skb_any(skb);