Backports Archive on
 help / Atom feed
* [PATCH] backports: add missing include in 3.13 compat code
@ 2018-10-02 19:10 Johannes Berg
  0 siblings, 0 replies; 1+ messages in thread
From: Johannes Berg @ 2018-10-02 19:10 UTC (permalink / raw)
  To: backports; +Cc: Johannes Berg

From: Johannes Berg <>

If we don't include <linux/net.h> then __BACKPORT_NET_GET_RANDOM_ONCE
can never be defined, and we'll never get the compat code. Fix that.

Signed-off-by: Johannes Berg <>
 backport/compat/backport-3.13.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/compat/backport-3.13.c b/backport/compat/backport-3.13.c
index 23c759ef2388..2b61711d233d 100644
--- a/backport/compat/backport-3.13.c
+++ b/backport/compat/backport-3.13.c
@@ -15,6 +15,7 @@
 #include <linux/pci.h>
 #include <linux/device.h>
 #include <linux/hwmon.h>
+#include <linux/net.h>
 struct __net_random_once_work {

To unsubscribe from this list: send the line "unsubscribe backports" in

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

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02 19:10 [PATCH] backports: add missing include in 3.13 compat code Johannes Berg

Backports Archive on

Archives are clonable:
	git clone --mirror backports/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 backports backports/ \
	public-inbox-index backports

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox