]> 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)
commitbbb36730f9d22da06ed29e5364e32f76e630a1db
treec4b62f54fad809b4ab212a81b6fde7a91f2d09ca
parent004e4046e9733cdd7326a8cf00c5aa74e4e08049
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