[PATCH xtables] arptables-nft: use generic expression parsing function

2018-11-18 Thread Florian Westphal
since commit d9c6a5d0977a6d8bbe772dbc31a2c4f58eec1708 ("xtables: merge {ip,arp}tables_command_state structs") arptables uses the shared representation. With only minor changes (e.g., use generic counters in command_state), in print/save functions we can use the shared nftnl expression parser too.

[PATCH nf] netfilter: xt_TEE: fix build failure

2018-11-18 Thread Taehee Yoo
xt_TEE.c needs nf_dup_ipv6.c to support ipv6 packet duplication. So that if xt_TEE is enabled, nf_dup_ipv6 will be automatically selected. But there is build failure scenario. test config: CONFIG_NETFILTER_XT_TARGET_TEE=y CONFIG_NF_DUP_IPV6=m compile result: net/netfilter/xt_TEE.o: In function

Re: [PATCH nf] netfilter: xt_TEE: fix build failure

2018-11-18 Thread Taehee Yoo
On Mon, 19 Nov 2018 at 02:15, Randy Dunlap wrote: > > On 11/18/18 6:39 AM, Taehee Yoo wrote: > > xt_TEE.c needs nf_dup_ipv6.c to support ipv6 packet duplication. > > So that if xt_TEE is enabled, nf_dup_ipv6 will be automatically selected. > > But there is build failure scenario. > > > > test

Re: [PATCH nf] netfilter: xt_TEE: fix build failure

2018-11-18 Thread Randy Dunlap
On 11/18/18 6:39 AM, Taehee Yoo wrote: > xt_TEE.c needs nf_dup_ipv6.c to support ipv6 packet duplication. > So that if xt_TEE is enabled, nf_dup_ipv6 will be automatically selected. > But there is build failure scenario. > > test config: > CONFIG_NETFILTER_XT_TARGET_TEE=y > CONFIG_NF_DUP_IPV6=m >