kernel: bump 4.14 to 4.14.52 for 18.06
[openwrt/openwrt.git] / target / linux / ipq40xx / patches-4.14 / 902-essedma-alloc-skb-ip-align.patch
1 From 17681f0bb474d0d227f07369144149d1555d8bce Mon Sep 17 00:00:00 2001
2 From: Chen Minqiang <ptpt52@gmail.com>
3 Date: Sun, 17 Jun 2018 04:14:13 +0800
4 Subject: [PATCH] essedma: alloc skb ip align
5
6 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
7 ---
8 drivers/net/ethernet/qualcomm/essedma/edma.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/net/ethernet/qualcomm/essedma/edma.c
12 +++ b/drivers/net/ethernet/qualcomm/essedma/edma.c
13 @@ -201,7 +201,7 @@ static int edma_alloc_rx_buf(struct edma
14 skb = sw_desc->skb;
15 } else {
16 /* alloc skb */
17 - skb = netdev_alloc_skb(edma_netdev[0], length);
18 + skb = netdev_alloc_skb_ip_align(edma_netdev[0], length);
19 if (!skb) {
20 /* Better luck next round */
21 break;