aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-06-19 12:12:34 -0700
committerDavid S. Miller <davem@davemloft.net>2020-06-20 17:47:53 -0700
commit05e22e8395058745bd0312bc488b522197852aff (patch)
tree62d1ab4974d59015979fb24e1d823df5b3b825b2 /include/net/tcp.h
parentof: mdio: preserve phy dev_flags in of_phy_connect() (diff)
downloadlinux-dev-05e22e8395058745bd0312bc488b522197852aff.tar.xz
linux-dev-05e22e8395058745bd0312bc488b522197852aff.zip
tcp: remove indirect calls for icsk->icsk_af_ops->queue_xmit
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>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 4de9485f73d9..e5d7e0b09924 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -25,6 +25,7 @@
#include <linux/skbuff.h>
#include <linux/kref.h>
#include <linux/ktime.h>
+#include <linux/indirect_call_wrapper.h>
#include <net/inet_connection_sock.h>
#include <net/inet_timewait_sock.h>