On Fri, 17 Mar 2017, Jan Engelhardt wrote: > 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(). Thanks for the report, I'm going to add the required compatibility hoops to handle the API change. Best regards, Jozsef - E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences H-1525 Budapest 114, POB. 49, Hungary -- 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