Skip to contentSkip to conversation

Add missing include for kernels between 3.8 and 3.15

PATCH Mathieu Desnoyers 1 participant 1 message Oct 28, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged into master, thanks!

Mathieu

Quoted 38 lines · ----- On Oct 28, 2019, at 4:28 PM, Michael Jeanson [email protected] wrote:

This is required at least for:
v3.13.x
v3.11.x
v3.9.x
v3.8.x

---
lttng-context-mnt-ns.c | 1 +
lttng-context-net-ns.c | 1 +

2 files changed, 2 insertions(+)
lttng-context-mnt-ns.c +1 -0
index 98d5b8e..b5bb955 100644
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <lttng-events.h>
+#include <linux/nsproxy.h>
 #include <wrapper/ringbuffer/frontend_types.h>
 #include <wrapper/vmalloc.h>
 #include <wrapper/namespace.h>
lttng-context-net-ns.c +1 -1
index 24d7ae3..6694037 100644
@@ -12,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
+#include <linux/nsproxy.h>
 #include <net/net_namespace.h>
 #include <lttng-events.h>
 #include <wrapper/ringbuffer/frontend_types.h>
--

2.17.1

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com