]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_reject: add reject skbuff creation helpers
authorJose M. Guisado Gomez <guigom@riseup.net>
Thu, 22 Oct 2020 19:43:51 +0000 (21:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 31 Oct 2020 09:40:22 +0000 (10:40 +0100)
commitfa538f7cf05aab61cd91e01c160d4a09c81b8ffe
tree0b573c043b37fa34dcfbf66622f33e64b2a3acf6
parent37d38ece9b898ea183db9e5a6582651e6ed64c9a
netfilter: nf_reject: add reject skbuff creation helpers

Adds reject skbuff creation helper functions to ipv4/6 nf_reject
infrastructure. Use these functions for reject verdict in bridge
family.

Can be reused by all different families that support reject and
will not inject the reject packet through ip local out.

Signed-off-by: Jose M. Guisado Gomez <guigom@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/ipv4/nf_reject.h
include/net/netfilter/ipv6/nf_reject.h
net/bridge/netfilter/Kconfig
net/bridge/netfilter/nft_reject_bridge.c
net/ipv4/netfilter/nf_reject_ipv4.c
net/ipv6/netfilter/nf_reject_ipv6.c