]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc4b1818f5a62b1c9037121fd38cecaa1bead1ca
tree6c91f581ec5db35d4d77554be9d293b2ae57a776
parent09ef602bd3fc39484056cd9b9fb050640fabf795
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