summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/0090-use-skb_pad.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/0090-use-skb_pad.patch b/patches/0090-use-skb_pad.patch
new file mode 100644
index 00000000..086328c1
--- /dev/null
+++ b/patches/0090-use-skb_pad.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/mediatek/mt76/usb.c
++++ b/drivers/net/wireless/mediatek/mt76/usb.c
+@@ -535,7 +535,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);
+ }