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