summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorEric Leblond2013-12-29 12:28:14 +0100
committerPablo Neira Ayuso2013-12-30 18:15:38 +0100
commitbee11dc78fc8a41299be5ce04b1c76b0057af450 (patch)
tree0717e96f0f1cbfca4373dc0fa867b3b888267f16 /fs/ioctl.c
parentnetfilter: REJECT: separate reusable code (diff)
downloadkernel-qcow2-linux-bee11dc78fc8a41299be5ce04b1c76b0057af450.tar.gz
kernel-qcow2-linux-bee11dc78fc8a41299be5ce04b1c76b0057af450.tar.xz
kernel-qcow2-linux-bee11dc78fc8a41299be5ce04b1c76b0057af450.zip
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 <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions