mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
22 lines
801 B
Diff
22 lines
801 B
Diff
|
From 41047fc3ae025e75a8ac9da8714dbaaef6e63aec Mon Sep 17 00:00:00 2001
|
||
|
From: Camelia Groza <camelia.groza@nxp.com>
|
||
|
Date: Tue, 3 Jul 2018 10:04:12 +0300
|
||
|
Subject: [PATCH] dpaa_eth: ERR010022: adapt to new skb copy API
|
||
|
|
||
|
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
|
||
|
---
|
||
|
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
|
||
|
+++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
|
||
|
@@ -2183,7 +2183,7 @@ static struct sk_buff *dpaa_errata_a0100
|
||
|
WARN_ONCE(1, "skb parsing failure\n");
|
||
|
goto err;
|
||
|
}
|
||
|
- copy_skb_header(nskb, skb);
|
||
|
+ skb_copy_header(nskb, skb);
|
||
|
|
||
|
/* We move the headroom when we align it so we have to reset the
|
||
|
* network and transport header offsets relative to the new data
|