aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMáté Eckl <[email protected]>2018-08-02 21:18:31 +0200
committerPablo Neira Ayuso <[email protected]>2018-08-03 20:20:53 +0200
commit033eab53fff7acc0f5718dee6fda641734b94416 (patch)
treef70ef7b48ead5898cfbea8c5126a591a703b3e60 /lib/test_overflow.c
parentc75303269009667cc2b7ddee274bc9e96e840f57 (diff)
netfilter: nft_tproxy: Add missing config check
A config check was missing form the code when using nf_defrag_ipv6_enable with NFT_TPROXY != n and NF_DEFRAG_IPV6 = n and this caused the following error: ../net/netfilter/nft_tproxy.c: In function 'nft_tproxy_init': ../net/netfilter/nft_tproxy.c:237:3: error: implicit declaration of function +'nf_defrag_ipv6_enable' [-Werror=implicit-function-declaration] err = nf_defrag_ipv6_enable(ctx->net); This patch adds a check for NF_TABLES_IPV6 when NF_DEFRAG_IPV6 is selected by Kconfig. Reported-by: Randy Dunlap <[email protected]> Fixes: 4ed8eb6570a4 ("netfilter: nf_tables: Add native tproxy support") Signed-off-by: Máté Eckl <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions