]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd2489c7b6d7d5ed4b32b56703c57c47bfbfe7fa5
treefa179aa92c68c6c5d77cf2c1ba185cf08d24bcea
parent93afcfd1db35882921b2521a637c78755c27b02c
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