diff options
author | John Crispin <john@phrozen.org> | 2018-07-24 16:04:44 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-25 12:13:19 +0200 |
commit | ffc40d2eae90e8cf526d0f7f28992066da5d7477 (patch) | |
tree | 8c5358db256764b79533cec148b7717349b673dd /target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch | |
parent | e725d3080c81f413c4a650c7531dc649ddfd4ccf (diff) | |
download | upstream-ffc40d2eae90e8cf526d0f7f28992066da5d7477.tar.gz upstream-ffc40d2eae90e8cf526d0f7f28992066da5d7477.tar.bz2 upstream-ffc40d2eae90e8cf526d0f7f28992066da5d7477.zip |
ipq40xx: move essedma patches into same range
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch')
-rw-r--r-- | target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch b/target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch new file mode 100644 index 0000000000..8c70fceb01 --- /dev/null +++ b/target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch @@ -0,0 +1,21 @@ +From 17681f0bb474d0d227f07369144149d1555d8bce Mon Sep 17 00:00:00 2001 +From: Chen Minqiang <ptpt52@gmail.com> +Date: Sun, 17 Jun 2018 04:14:13 +0800 +Subject: [PATCH] essedma: alloc skb ip align + +Signed-off-by: Chen Minqiang <ptpt52@gmail.com> +--- + drivers/net/ethernet/qualcomm/essedma/edma.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/net/ethernet/qualcomm/essedma/edma.c ++++ b/drivers/net/ethernet/qualcomm/essedma/edma.c +@@ -201,7 +201,7 @@ static int edma_alloc_rx_buf(struct edma + skb = sw_desc->skb; + } else { + /* alloc skb */ +- skb = netdev_alloc_skb(edma_netdev[0], length); ++ skb = netdev_alloc_skb_ip_align(edma_netdev[0], length); + if (!skb) { + /* Better luck next round */ + break; |