kernel: bump 5.4 to 5.4.123
[openwrt/staging/ynezz.git] / target / linux / layerscape / patches-5.4 / 701-net-0073-dpaa_eth-ERR010022-adapt-to-new-skb-copy-API.patch
1 From 41047fc3ae025e75a8ac9da8714dbaaef6e63aec Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Tue, 3 Jul 2018 10:04:12 +0300
4 Subject: [PATCH] dpaa_eth: ERR010022: adapt to new skb copy API
5
6 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
7 ---
8 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
12 +++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
13 @@ -2183,7 +2183,7 @@ static struct sk_buff *dpaa_errata_a0100
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 /* We move the headroom when we align it so we have to reset the
21 * network and transport header offsets relative to the new data