All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] iproute2: fix rdma build
@ 2018-06-23 19:25 Fabrice Fontaine
  2018-06-23 20:34 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2018-06-23 19:25 UTC (permalink / raw)
  To: buildroot

Retrieve upstream patch

Fixes:
 - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...0001-rdma-sync-some-IP-headers-with-glibc.patch | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch

diff --git a/package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch b/package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch
new file mode 100644
index 0000000000..f78a5d6b43
--- /dev/null
+++ b/package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch
@@ -0,0 +1,39 @@
+From 5887ff0922a06d978d3271df9f01fcb04fadc75f Mon Sep 17 00:00:00 2001
+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
+
+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>
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Retrieved from: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=5887ff0922a06d978d3271df9f01fcb04fadc75f]
+---
+ rdma/rdma.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/rdma/rdma.h b/rdma/rdma.h
+index fcaf9e6..d4b7ba1 100644
+--- 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>
+-- 
+cgit v1.1
+
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] iproute2: fix rdma build
  2018-06-23 19:25 [Buildroot] [PATCH 1/1] iproute2: fix rdma build Fabrice Fontaine
@ 2018-06-23 20:34 ` Baruch Siach
  2018-06-24 10:00   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2018-06-23 20:34 UTC (permalink / raw)
  To: buildroot

Hi Fabrice,

On Sat, Jun 23, 2018 at 09:25:06PM +0200, Fabrice Fontaine wrote:
> Retrieve upstream patch
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Baruch Siach <baruch@tkos.co.il>

Thanks,
baruch

> ---
>  ...0001-rdma-sync-some-IP-headers-with-glibc.patch | 39 ++++++++++++++++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch
> 
> diff --git a/package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch b/package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch
> new file mode 100644
> index 0000000000..f78a5d6b43
> --- /dev/null
> +++ b/package/iproute2/0001-rdma-sync-some-IP-headers-with-glibc.patch
> @@ -0,0 +1,39 @@
> +From 5887ff0922a06d978d3271df9f01fcb04fadc75f Mon Sep 17 00:00:00 2001
> +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
> +
> +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>
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +[Retrieved from: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=5887ff0922a06d978d3271df9f01fcb04fadc75f]
> +---
> + rdma/rdma.h | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/rdma/rdma.h b/rdma/rdma.h
> +index fcaf9e6..d4b7ba1 100644
> +--- 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>
> +-- 
> +cgit v1.1

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] iproute2: fix rdma build
  2018-06-23 20:34 ` Baruch Siach
@ 2018-06-24 10:00   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2018-06-24 10:00 UTC (permalink / raw)
  To: buildroot

Hi Fabrice, Baruch,

> > Fixes:
> >  - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953

> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

> Reviewed-by: Baruch Siach <baruch@tkos.co.il>
> Tested-by: Baruch Siach <baruch@tkos.co.il>

Thanks for fixing the issue!

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-24 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-23 19:25 [Buildroot] [PATCH 1/1] iproute2: fix rdma build Fabrice Fontaine
2018-06-23 20:34 ` Baruch Siach
2018-06-24 10:00   ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.