]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: Make NET_ACT_CT depends on NF_NAT
authorYueHaibing <yuehaibing@huawei.com>
Tue, 16 Jul 2019 07:16:02 +0000 (15:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jul 2019 19:02:43 +0000 (12:02 -0700)
commit16835faf30f7e0244440e201885e116dcfc1f7ad
tree69a5223d0f02f44c7b106ef46f0006d413a8fe7b
parentb5ad24fcbcdb50a39fdb5661267ae6fc414011e0
net/sched: Make NET_ACT_CT depends on NF_NAT

If NF_NAT is m and NET_ACT_CT is y, build fails:

net/sched/act_ct.o: In function `tcf_ct_act':
act_ct.c:(.text+0x21ac): undefined reference to `nf_ct_nat_ext_add'
act_ct.c:(.text+0x229a): undefined reference to `nf_nat_icmp_reply_translation'
act_ct.c:(.text+0x233a): undefined reference to `nf_nat_setup_info'
act_ct.c:(.text+0x234a): undefined reference to `nf_nat_alloc_null_binding'
act_ct.c:(.text+0x237c): undefined reference to `nf_nat_packet'

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 213cbf44d25b ("net/sched: Introduce action ct")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/Kconfig