]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add RETPOLINE mitigation to sk_backlog_rcv
authorEric Dumazet <edumazet@google.com>
Mon, 15 Nov 2021 19:02:41 +0000 (11:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Nov 2021 13:10:34 +0000 (13:10 +0000)
commit4a1c04800ea1b8b978039de81f44c089e1951fa7
treefa179aa92c68c6c5d77cf2c1ba185cf08d24bcea
parentede5a9a4a55eeb1189d489ed8a6cbafe7497e64d
tcp: add RETPOLINE mitigation to sk_backlog_rcv

Use INDIRECT_CALL_INET() to avoid an indirect call
when/if CONFIG_RETPOLINE=y

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