Commit 1dd3c566 authored by Litao Jiao's avatar Litao Jiao
Browse files

net/smc: fix documentation of buffer sizes

mainline inclusion
from mainline-v6.7-rc1
commit a1602d749097386ec9e8e411a16a9c37ff6cd5fc
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I76JHC
CVE: NA

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



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

Since commit 833bac7e ("net/smc: Fix setsockopt and sysctl to
specify same buffer size again") the SMC protocol uses its own
default values for the smc.rmem and smc.wmem sysctl variables
which are no longer derived from the TCP IPv4 buffer sizes.

Fixup the kernel documentation to reflect this change, too.

Fixes: 833bac7e ("net/smc: Fix setsockopt and sysctl to specify same buffer size again")
Signed-off-by: default avatarGerd Bayer <gbayer@linux.ibm.com>
Reviewed-by: default avatarWenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: default avatarDust Li <dust.li@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231030170343.748097-1-gbayer@linux.ibm.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarLitao Jiao <jiaolitao@sangfor.com.cn>
parent 82496d54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment