On 23/03/2015 15:50, Patrick McHardy wrote:
I would be surprised if the alternative provides a much smaller binary. Basically everything is referenced through the registered structures and functions called from there. I don't think it makes any difference.
It's the case for now, but it might not be in the future. Else, why keep libnftnl as a separate package from nftables?
Well, we would like to keep the callbacks. We can continue to look for a different solution. But either way you will have tons of potentially unused functions in there since the library resolves a lot of things at runtime.
I understand that, and don't mind the current 600k that much. I am opposed to linking with --whole-archive on principle, but I'll take any other solution that suits you. Any *clean* solution, I mean. ;) -- Laurent -- 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