From: Eric Leblond Date: Sun, 29 Dec 2013 11:28:14 +0000 (+0100) Subject: netfilter: nft_reject: support for IPv6 and TCP reset X-Git-Tag: v3.14-rc1~94^2~278^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee11dc78fc8a41299be5ce04b1c76b0057af450;p=pandora-kernel.git netfilter: nft_reject: support for IPv6 and TCP reset This patch moves nft_reject_ipv4 to nft_reject and adds support for IPv6 protocol. This patch uses functions included in nf_reject.h to implement reject by TCP reset. The code has to be build as a module if NF_TABLES_IPV6 is also a module to avoid compilation error due to usage of IPv6 functions. This has been done in Kconfig by using the construct: depends on NF_TABLES_IPV6 || !NF_TABLES_IPV6 This seems a bit weird in terms of syntax but works perfectly. Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed