Linux backports project
 help / color / mirror / Atom feed
* wireless_nlevent_flush backported to stable kernels
@ 2016-05-15  6:25 Emmanuel Grumbach
  2016-05-15  9:50 ` Arend Van Spriel
  0 siblings, 1 reply; 5+ messages in thread
From: Emmanuel Grumbach @ 2016-05-15  6:25 UTC (permalink / raw)
  To: backports@vger.kernel.org

Hi,

Johanne's patch:

commit cb150b9d23be6ee7f3a0fff29784f1c5b5ac514d
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Wed Jan 27 13:29:34 2016 +0100

    cfg80211/wext: fix message ordering


has been backported to more stable kernels and hence backport needs to
take that into account.
I am using Ubuntu's wily kernel (4.2 based) and apparently, they
backported Johanne's fix as well.

On my system, I fixed it with the patch below, but it is surely not good enough.

diff --git a/backport-include/net/iw_handler.h
b/backport-include/net/iw_handler.h
index e205d1e..b9c0144 100644
--- a/backport-include/net/iw_handler.h
+++ b/backport-include/net/iw_handler.h
@@ -25,7 +25,8 @@ iwe_stream_add_point_check(struct iw_request_info
*info, char *stream,
        return res;
 }
 #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,6)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,6) &&      \
+    LINUX_VERSION_CODE < KERNEL_VERSION(4,1,21)
 static inline void wireless_nlevent_flush(void) {}
 #endif
 #endif /* __BACKPORT_IW_HANDLER_H */


Emmanuel Grumbach
egrumbach@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-17  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-15  6:25 wireless_nlevent_flush backported to stable kernels Emmanuel Grumbach
2016-05-15  9:50 ` Arend Van Spriel
2016-05-16 19:26   ` Johannes Berg
2016-05-17  9:05     ` Arend Van Spriel
2016-05-17  9:08       ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox