]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: move nf_send_resetX() code to nf_reject_ipvX modules
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 26 Sep 2014 12:35:15 +0000 (14:35 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 2 Oct 2014 16:30:49 +0000 (18:30 +0200)
commit5d09d893d6b19f104449cd91fae87b92b5b60c70
treef7a8eaf696632ec402b61bbefd534d66d2b48c33
parent10e73cae52ac94ae2e4923649ddc555f056f3f8a
netfilter: move nf_send_resetX() code to nf_reject_ipvX modules

Move nf_send_reset() and nf_send_reset6() to nf_reject_ipv4 and
nf_reject_ipv6 respectively. This code is shared by x_tables and
nf_tables.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/ipv4/nf_reject.h
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_reject_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nf_reject_ipv6.c [new file with mode: 0644]