mbox series

[net-next,0/4] net: avoid indirect calls in dst functions

Message ID 20201211015823.1079574-1-brianvv@google.com (mailing list archive)
Headers show
Series net: avoid indirect calls in dst functions | expand

Message

Brian Vazquez Dec. 11, 2020, 1:58 a.m. UTC
From: brianvv <brianvv@google.com>

Use of the indirect call wrappers in some dst related functions for the
ipv6/ipv4 case. This is a small improvent for CONFIG_RETPOLINE=y

brianvv (4):
  net: use indirect call helpers for dst_input
  net: use indirect call helpers for dst_output
  net: use indirect call helpers for dst_mtu
  net: indirect call helpers for ipv4/ipv6 dst_check functions

 include/net/dst.h   | 25 +++++++++++++++++++++----
 net/core/sock.c     | 12 ++++++++++--
 net/ipv4/route.c    | 12 ++++++++----
 net/ipv4/tcp_ipv4.c |  5 ++++-
 net/ipv6/route.c    | 12 ++++++++----
 net/ipv6/tcp_ipv6.c |  5 ++++-
 6 files changed, 55 insertions(+), 16 deletions(-)