drbd-utils/netlink-prepare-for-kernel-v5.2.patch

28 lines
615 B
Diff

From 92ade5989027ee7ea5fbde38ad67cd234822afcf Mon Sep 17 00:00:00 2001
From: Roland Kammerer <roland.kammerer@linbit.com>
Date: Fri, 12 Jul 2019 13:36:50 +0200
Subject: [PATCH 1/2] netlink: prepare for kernel v5.2
---
user/shared/libgenl.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/user/shared/libgenl.h b/user/shared/libgenl.h
index f649bc7d..4e9888ca 100644
--- a/user/shared/libgenl.h
+++ b/user/shared/libgenl.h
@@ -31,6 +31,10 @@
#define SOL_NETLINK 270
#endif
+#ifndef NLA_F_NESTED
+#define NLA_F_NESTED 0
+#endif
+
#define DEBUG_LEVEL 1
#define dbg(lvl, fmt, arg...) \
--
2.16.4