Re: [PATCH] ipset: Backports for the nla_put_net64() API changes

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

 



On Thu, Jun 23, 2016 at 06:41:45PM +0700, Neutron Soutmun wrote:
> On Thu, Jun 23, 2016 at 5:37 PM, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> > On Thu, Jun 23, 2016 at 05:22:11PM +0700, Neutron Soutmun wrote:
> >> * Backports the patch "libnl: nla_put_net64():align on a 64-bit area" [1]
> >>   by Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
> >>
> >> * Since the nla_put_net64() API has been changed, therefore, the
> >>   ip_set_compat.h.in should provides the macro IPSET_NLA_PUT_NET64 that
> >>   point to the nla_put_net64() with appropriate number of arguments.
> >>
> >>   The build script should distinguish the API changes by detect for
> >>   the existence of nla_put_64bit() function in include/net/netlink.h.
> >>   This function was added in the same patches set and called by
> >>   the nla_put_be64() that called by nla_put_net64() respectively.
> >
> > What are you specifically fixing with this?
> 
> Sorry that the patch is not clear the point.
> This patch is on top of the ipset master branch, http://git.netfilter.org/ipset,
> which I face a problem to build the latest ipset kernel module against
> the linux-4.7~rc4-1~exp1 (Debian Experimental).
> 
> Therefore, I have backported the patch from mainline and prepared the
> macro for backward compatible which
> the ipset kernel module could be compiled with earlier kernel version (< 4.7)

What is exactly the compilation error you get?

Userspace should refer to any of those _PAD attributes, so this should
be fine.
--
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