mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* mac80211: backport security fixes
This mainly affects scanning and beacon parsing, especially with MBSSID enabled
Fixes: CVE-2022-41674
Fixes: CVE-2022-42719
Fixes: CVE-2022-42720
Fixes: CVE-2022-42721
Fixes: CVE-2022-42722
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 26f400210d6b3780fcc0deb89b9741837df9c8b8)
* mac80211: refresh patches
355-wifi-cfg80211-fix-BSS-refcounting-bugs.patch - 5a52384a51
Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: 1054009064 <1054009064@users.noreply.github.com>
15 lines
420 B
Diff
15 lines
420 B
Diff
--- a/drivers/staging/rtl8723bs/include/osdep_service_linux.h
|
|
+++ b/drivers/staging/rtl8723bs/include/osdep_service_linux.h
|
|
@@ -45,7 +45,11 @@
|
|
spinlock_t lock;
|
|
};
|
|
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))
|
|
+ #define thread_exit() kthread_complete_and_exit(NULL, 0)
|
|
+#else
|
|
#define thread_exit() complete_and_exit(NULL, 0)
|
|
+#endif
|
|
|
|
static inline struct list_head *get_next(struct list_head *list)
|
|
{
|