You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
741 B
22 lines
741 B
7 years ago
|
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
|
||
6 years ago
|
@@ -201,7 +201,7 @@ static int edma_alloc_rx_buf(struct edma
|
||
7 years ago
|
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;
|