[Buildroot] [PATCH 1/1] iptables: fix userspace compilation of ip tables with C++

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Oct 29 22:24:34 UTC 2014


On 10/29/2014 06:34 PM, Thomas Petazzoni wrote:

> Dear Matt Weber,
> 
> On Mon, 13 Oct 2014 14:12:43 -0500, Matt Weber wrote:
>>
>> Signed-off-by: Matt Weber <matthew.weber at rockwellcollins.com>
>> ---
>>  ...ix-userspace-compilation-of-ip_tables_c_h.patch |   43 ++++++++++++++++++++
>>  1 file changed, 43 insertions(+)
>>  create mode 100644 package/iptables/iptables-03-fix-userspace-compilation-of-ip_tables_c_h.patch
> 
> This patch apparently dates back from 2012. Why has it never been
> merged upstream? Also, I don't really understand the interaction
> between the kernel headers, and this include/linux/ header in iptables.
> 
> Has the problem been reported upstream to iptables?
> 
> Gustavo, an opinion?

It was posted to lkml & linux-netdev at first, Davem told to post to
netfilter-devel. That was done:

http://marc.info/?t=134904906300003&r=1&w=1

The logic seems right, C++ is more strict and triggers the issue.
It's an issue when dealing with netfilter rules from custom C++ code.

But it seems to have been rejected without much explanation:
http://patchwork.ozlabs.org/patch/188216/

Regards.



More information about the buildroot mailing list