Commit 9b85ce5f authored by Eric Dumazet's avatar Eric Dumazet Committed by Liu Jian
Browse files

tcp: add RETPOLINE mitigation to sk_backlog_rcv

mainline inclusion
from mainline-v5.17-rc1
commit d2489c7b
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I65HYE

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d2489c7b6d7d5ed4b32b56703c57c47bfbfe7fa5



---------------------------

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

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit d2489c7b)
Signed-off-by: default avatarLiu Jian <liujian56@huawei.com>
parent 4ba22d6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment