]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipvs: prepare for hook function reduction
authorFlorian Westphal <fw@strlen.de>
Tue, 12 Oct 2021 17:29:56 +0000 (19:29 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 Oct 2021 21:06:53 +0000 (23:06 +0200)
commit301d448f596736e19a011367fd1275d303611163
treec4b62f54fad809b4ab212a81b6fde7a91f2d09ca
parent51cfe3c66be7f990e0f298048aec1b9fe4bf74e2
netfilter: ipvs: prepare for hook function reduction

ipvs has multiple one-line wrappers for hooks, compact them.

To avoid a large patch make the two most common helpers use the same
function signature as hooks.

Next patches can then remove the oneline wrappers.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_core.c