Re: Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c

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

 



On 13 July 2015 at 17:46, Akemi Yagi <amyagi@xxxxxxxxx> wrote:
> On Mon, Jul 13, 2015 at 9:41 AM, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
>
>> Could you please test this patch? Thank you.
>
> Thanks for the patch. We will test this and report back to you.
>
> Akemi

Hello Pablo,

My colleague Akemi Yagi has forwarded the patch to me for testing. I
now have both some good and bad news to report.

The patch (0001-netfilter-ipset-fix-build-error-with-old-gcc-version.patch)
does indeed fix the reported bug and allows the build to continue.

Unfortunately another problem is then disclosed. It is fundamentally
the same type of bug as above.

net/netfilter/ipset/ip_set_hash_netportnet.c: In function
'hash_netportnet4_uadt':
net/netfilter/ipset/ip_set_hash_netportnet.c:178: error: unknown field
'cidr' specified in initializer
net/netfilter/ipset/ip_set_hash_netportnet.c:178: warning: missing
braces around initializer
net/netfilter/ipset/ip_set_hash_netportnet.c:178: warning: (near
initialization for 'e.<anonymous>.ip')
net/netfilter/ipset/ip_set_hash_netportnet.c: In function
'hash_netportnet6_uadt':
net/netfilter/ipset/ip_set_hash_netportnet.c:448: error: unknown field
'cidr' specified in initializer
net/netfilter/ipset/ip_set_hash_netportnet.c:448: warning: missing
braces around initializer
net/netfilter/ipset/ip_set_hash_netportnet.c:448: warning: (near
initialization for 'e.ip[0]')
make[3]: *** [net/netfilter/ipset/ip_set_hash_netportnet.o] Error 1
make[2]: *** [net/netfilter/ipset] Error 2
make[1]: *** [net/netfilter] Error 2
make: *** [net] Error 2

If you could create another patch, please, I will be willing to test it.

Alan.
--
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