forked from pool/iproute2
Jan Engelhardt
f4ccd7dfb9
- Update to new upstream release 4.17 OBS-URL: https://build.opensuse.org/request/show/626868 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=162
34 lines
1022 B
Diff
34 lines
1022 B
Diff
From: Hoang Le <hoang.h.le@dektech.com.au>
|
|
Date: Wed, 13 Jun 2018 11:09:56 +0700
|
|
Subject: rdma: sync some IP headers with glibc
|
|
Patch-mainline: v4.18.0
|
|
Git-commit: 5887ff0922a06d978d3271df9f01fcb04fadc75f
|
|
|
|
In the commit 9a362cc71a45, new userspace header:
|
|
(i.e rdma/rdma_user_cm.h -> linux/in6.h)
|
|
is included before the kernel space header:
|
|
(i.e utils.h -> resolv.h -> netinet/in.h).
|
|
|
|
This leads to unsynchronous some IP headers and compiler got failure
|
|
with error: redefinition of some structs IP.
|
|
|
|
In this commit, just reorder this including to make them in-sync.
|
|
|
|
Signed-off-by: Hoang Le <hoang.h.le@dektech.com.au>
|
|
Acked-by: Leon Romanovsky <leonro@mellanox.com>
|
|
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
|
|
---
|
|
rdma/rdma.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/rdma/rdma.h
|
|
+++ b/rdma/rdma.h
|
|
@@ -15,6 +15,7 @@
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
#include <getopt.h>
|
|
+#include <netinet/in.h>
|
|
#include <libmnl/libmnl.h>
|
|
#include <rdma/rdma_netlink.h>
|
|
#include <rdma/rdma_user_cm.h>
|