Re: ipset 6.32 - build failure

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

 



With 4.10.3, ipset 6.32 seems to run into an issue:

[   59s] /home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.c: In function 'set_match_v0':
[   59s] /home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.c:75:18: error: 'struct xt_action_param' has no member named 'family'
[   59s]   ADT_OPT(opt, par->family, info->match_set.u.compat.dim,
[   59s]                   ^
[   59s] /home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.c:61:12: note: in definition of macro 'ADT_OPT'
[   59s]   .family = f,   \
[   59s]             ^

abuild@a4:/home/abuild/rpmbuild/BUILD/ipset-default-6.32> make modules
make -C /usr/src/linux-obj/x86_64/default M=$PWD/kernel/net V= \
                KCFLAGS="-DPACKAGE_VERSION=6.32" \
                IP_SET_MAX=256 KDIR=$PWD/kernel modules
make[1]: Entering directory '/usr/src/linux-4.10.3-1-obj/x86_64/default'
  CC [M]  /home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.o
/home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.c: In function 'set_match_v0':
/home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.c:75:18: error: 'struct xt_action_param' has no member named 'family'
  ADT_OPT(opt, par->family, info->match_set.u.compat.dim,
                  ^
/home/abuild/rpmbuild/BUILD/ipset-default-6.32/kernel/net/netfilter/xt_set.c:61:12: note: in definition of macro 'ADT_OPT'
  .family = f,   \
            ^


Commit 613dbd95723aee7abd16860745691b6c7bda20dc in the kernel was the one to
remove par->family. There is a new function called xt_family().
--
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