Re: [kernel PATCH] uapi: ebtables: don't include linux/if.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 08, 2015 at 07:59:40PM +0200, Pablo Neira Ayuso wrote:
> On Wed, Apr 08, 2015 at 07:41:40PM +0200, Arturo Borrero Gonzalez wrote:
> > From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > 
> > linux/if.h creates conflicts in userspace with net/if.h
> > 
> > By using it here we force userspace to use linux/if.h while
> > net/if.h may be needed.
> 
> I'm going to add here that:
> 
> include/linux/netfilter_ipv4/ip_tables.h and
> include/linux/netfilter_ipv6/ip6_tables.h
> 
> don't include linux/if.h and they also refer to IFNAMSIZ, so they are
> expecting userspace to include use net/if.h from the client program.

Applied, thanks Arturo.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux