From: Felix Fietkau Date: Fri, 27 Jan 2023 10:35:41 +0000 (+0100) Subject: mac80211: backport napi_build_skb for 5.10 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=908397f6d2d167c02ee579b51c79ef03cdcdae9c;p=openwrt%2Fstaging%2Fstintel.git mac80211: backport napi_build_skb for 5.10 It is needed for an upcoming mt76 update Signed-off-by: Felix Fietkau --- diff --git a/package/kernel/mac80211/patches/build/110-backport_napi_build_skb.patch b/package/kernel/mac80211/patches/build/110-backport_napi_build_skb.patch new file mode 100644 index 0000000000..e2f6be5633 --- /dev/null +++ b/package/kernel/mac80211/patches/build/110-backport_napi_build_skb.patch @@ -0,0 +1,11 @@ +--- a/backport-include/linux/skbuff.h ++++ b/backport-include/linux/skbuff.h +@@ -140,4 +140,8 @@ static inline u64 skb_get_kcov_handle(st + } + #endif + ++#if LINUX_VERSION_IS_LESS(5,11,0) ++#define napi_build_skb build_skb ++#endif ++ + #endif /* __BACKPORT_SKBUFF_H */