tcp: remove indirect calls for icsk->icsk_af_ops->send_check
authorEric Dumazet <edumazet@google.com>
Fri, 19 Jun 2020 19:12:35 +0000 (12:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2020 00:47:53 +0000 (17:47 -0700)
commitdd2e0b86fc4ee146ac8f3275833d0187efeb950a
tree6c91f581ec5db35d4d77554be9d293b2ae57a776
parent05e22e8395058745bd0312bc488b522197852aff
tcp: remove indirect calls for icsk->icsk_af_ops->send_check

Mitigate RETPOLINE costs in __tcp_transmit_skb()
by using INDIRECT_CALL_INET() wrapper.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_checksum.h
include/net/tcp.h
net/ipv4/tcp_output.c
net/ipv6/tcp_ipv6.c