Upstream patches and fix for Udoo NEXT
This commit is contained in:
parent
e382072236
commit
f736c24bb1
@ -763,14 +763,14 @@ index 4da4d51a2ccf..b6327601f979 100644
|
||||
if (pkt_dev->flags & F_NODE) {
|
||||
int node = pkt_dev->node >= 0 ? pkt_dev->node : numa_node_id();
|
||||
|
||||
@@ -2788,8 +2791,9 @@ static struct sk_buff *pktgen_alloc_skb(struct net_device *dev,
|
||||
@@ -2791,8 +2791,9 @@ static struct sk_buff *pktgen_alloc_skb(struct net_device *dev,
|
||||
skb = __netdev_alloc_skb(dev, size, GFP_NOWAIT);
|
||||
}
|
||||
|
||||
+ /* the caller pre-fetches from skb->data and reserves for the mac hdr */
|
||||
if (likely(skb))
|
||||
- skb_reserve(skb, LL_RESERVED_SPACE(dev));
|
||||
+ skb_reserve(skb, extralen - 16);
|
||||
- skb_reserve(skb, LL_RESERVED_SPACE(dev));
|
||||
+ skb_reserve(skb, extralen - 16);
|
||||
|
||||
return skb;
|
||||
}
|
||||
|
||||
1230
patch/kernel/udoo-next/03-patch-4.4.32-33.patch
Normal file
1230
patch/kernel/udoo-next/03-patch-4.4.32-33.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user