Commit 0f7dc697 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Ziyang Xuan
Browse files

tls: suppress wakeups unless we have a full record

mainline inclusion
from mainline-v6.5-rc1
commit 121dca78
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8QSMO

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



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

TLS does not override .poll() so TLS-enabled socket will generate
an event whenever data arrives at the TCP socket. This leads to
unnecessary wakeups on slow connections.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Conflicts:
	net/tls/tls_main.c
Signed-off-by: default avatarZiyang Xuan <william.xuanziyang@huawei.com>
parent 2380c87d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment