]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: use indirect call wrappers
authorMatteo Croce <mcroce@redhat.com>
Sat, 19 Jan 2019 14:25:35 +0000 (15:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Jan 2019 10:15:58 +0000 (11:15 +0100)
commit36ab880c15629c67c22efc9f998b82b332822031
tree79dadd0f68ae03f49813ca8ae8832ed7cba5c7e6
parent0fde06bc09c16aff1a13c7c3174349a0f389b89d
ipvs: use indirect call wrappers

Use the new indirect call wrappers in IPVS when calling the TCP or UDP
protocol specific functions.
This avoids an indirect calls in IPVS, and reduces the performance
impact of the Spectre mitigation.

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_proto_tcp.c
net/netfilter/ipvs/ip_vs_proto_udp.c