Re: [PATCH v2 net] api: fix compatibility of linux/in.h with netinet/in.h
From: David Miller <davem@davemloft.net>
Date: 2015-06-30 02:08:35
From: David Miller <davem@davemloft.net>
Date: 2015-06-30 02:08:35
From: Stephen Hemminger <stephen@networkplumber.org> Date: Mon, 29 Jun 2015 14:57:48 -1000
u
This fixes breakage to iproute2 build with recent kernel headers
caused by:
commit a263653ed798216c0069922d7b5237ca49436007
Author: Pablo Neira Ayuso [off-list ref]
Date: Wed Jun 17 10:28:27 2015 -0500
netfilter: don't pull include/linux/netfilter.h from netns headers
The issue is that definitions in linux/in.h overlap with those
in netinet/in.h. This patch solves this by introducing the same
mechanism as was used to solve the same problem with linux/in6.h
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
v2 -- fixed for iproute2, kernel
tested on several different orders of includesThis looks a lot better, applied, thanks Stephen.