]> git.proxmox.com Git - mirror_iproute2.git/commit - rdma/rdma.h
rdma: sync some IP headers with glibc
authorHoang Le <hoang.h.le@dektech.com.au>
Wed, 13 Jun 2018 04:09:56 +0000 (11:09 +0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 15 Jun 2018 18:11:51 +0000 (11:11 -0700)
commit5887ff0922a06d978d3271df9f01fcb04fadc75f
tree9b73712b4edbe77cd83ad0ff11eb9e58b9bfcd15
parenta313455c6c1d2965e4736a73c4f929097e45e364
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>
rdma/rdma.h