diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-01-27 11:35:41 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-01-29 10:08:21 +0100 |
commit | 908397f6d2d167c02ee579b51c79ef03cdcdae9c (patch) | |
tree | 49d79fed460999aaa862b8c28807795c3379edf3 /package/kernel/mac80211 | |
parent | 74e5e213da152bc3791fe0c664ffae9b0218bd55 (diff) | |
download | upstream-908397f6d2d167c02ee579b51c79ef03cdcdae9c.tar.gz upstream-908397f6d2d167c02ee579b51c79ef03cdcdae9c.tar.bz2 upstream-908397f6d2d167c02ee579b51c79ef03cdcdae9c.zip |
mac80211: backport napi_build_skb for 5.10
It is needed for an upcoming mt76 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r-- | package/kernel/mac80211/patches/build/110-backport_napi_build_skb.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 */ |