kernel-5.4: bump to 5.4.102 and refresh patches
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0072-sdk_dpaa-ls1043a-errata-adapt-to-new-skb-copy-API.patch
1 From 6589b195949605efaa26c71baa2beb3bbf77ee5d Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Tue, 3 Jul 2018 10:03:05 +0300
4 Subject: [PATCH] sdk_dpaa: ls1043a errata: adapt to new skb copy API
5
6 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
7 ---
8 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_sg.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_sg.c
12 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_sg.c
13 @@ -852,7 +852,7 @@ static struct sk_buff *a010022_realign_s
14 WARN_ONCE(1, "skb parsing failure\n");
15 goto err;
16 }
17 - copy_skb_header(nskb, skb);
18 + skb_copy_header(nskb, skb);
19
20 #ifdef CONFIG_FSL_DPAA_TS
21 /* Copy relevant timestamp info from the old skb to the new */