ecbff1
From db66a909c0e4ca5d05a0dfa84734c1760ae41e3b Mon Sep 17 00:00:00 2001
ecbff1
From: Jan Synacek <jsynacek@redhat.com>
ecbff1
Date: Mon, 25 Sep 2017 10:44:19 +0200
ecbff1
Subject: [PATCH] Support 'rdma' as a ListenNetlink= argument (#6626)
ecbff1
ecbff1
NETLINK_RDMA has been in the kernel since v3.0.
ecbff1
ecbff1
(cherry-picked from commit 5570d7f9561294271591881cf9a249d574069c30)
ecbff1
ecbff1
Resolves: #1494610
ecbff1
---
ecbff1
 src/shared/socket-util.c | 3 ++-
ecbff1
 1 file changed, 2 insertions(+), 1 deletion(-)
ecbff1
ecbff1
diff --git a/src/shared/socket-util.c b/src/shared/socket-util.c
ecbff1
index 79d1582d4..baab6353e 100644
ecbff1
--- a/src/shared/socket-util.c
ecbff1
+++ b/src/shared/socket-util.c
ecbff1
@@ -725,7 +725,8 @@ static const char* const netlink_family_table[] = {
ecbff1
         [NETLINK_KOBJECT_UEVENT] = "kobject-uevent",
ecbff1
         [NETLINK_GENERIC] = "generic",
ecbff1
         [NETLINK_SCSITRANSPORT] = "scsitransport",
ecbff1
-        [NETLINK_ECRYPTFS] = "ecryptfs"
ecbff1
+        [NETLINK_ECRYPTFS] = "ecryptfs",
ecbff1
+        [NETLINK_RDMA] = "rdma",
ecbff1
 };
ecbff1
 
ecbff1
 DEFINE_STRING_TABLE_LOOKUP_WITH_FALLBACK(netlink_family, int, INT_MAX);