Re: nftables: nft fails to add rules to chains

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

 



On Sun, Mar 22, 2015 at 07:45:18PM +0100, Laurent Bercot wrote:
>  Hi Pedro,
> 
>  Thanks for answering.
>  Patch applied, and as expected nft now fails with the messages
> 
> libnftnl: Expression 'payload' not supported
> netlink.c:182: Memory allocation failure
> 
> 
> >I think this error is bogus. Please, apply this patch to libnftnl and
> >let us know.  For some reason __init is being ignored, are you using
> >gcc?
> 
>  I am using gcc (version 4.8.3). However I am not using glibc, but musl,
> and I link statically. This is probably the main difference between my
> system and the ones you guys are used to.
>  Is the "constructor" gcc attribute incompatible with static linking ?

The constructor seems to be ignored with static links, libnftnl needs
a fix.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux