Re: [PATCH net] uapi: fix compatability of linux/in.h with netinet/in.h
From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2015-06-29 18:01:58
From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2015-06-29 18:01:58
On Thu, Jun 25, 2015 at 11:12:06PM -0400, Stephen Hemminger wrote:
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
My patch also modifies non-exposed net/netns/ headers, I'm not sure how this can be causing problems to uapi headers.