summaryrefslogtreecommitdiff
path: root/patches/0090-use-skb_pad.patch
blob: 9f29d6cbbdf649d64217e8f2198df8e40723a1af (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/net/wireless/mediatek/mt76/usb.c
+++ b/drivers/net/wireless/mediatek/mt76/usb.c
@@ -536,7 +536,7 @@ int mt76u_skb_dma_info(struct sk_buff *s
 	}
 
 	if (unlikely(pad)) {
-		if (__skb_pad(last, pad, true))
+		if (skb_pad(last, pad))
 			return -ENOMEM;
 		__skb_put(last, pad);
 	}