]> git.baikalelectronics.ru Git - kernel.git/commit
net/rds: correct socket tunable error in rds_tcp_tune()
authorWilliam Kucharski <william.kucharski@oracle.com>
Wed, 1 Dec 2021 14:45:22 +0000 (07:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 12:16:57 +0000 (12:16 +0000)
commitc31bbbd8c2ce1ef750f16a1f9d15bd867f3ebcd1
tree4b454704c0fccbbbb56525bfdc64851dff5afebc
parentc89935f1fa150749c14c6a7298b020b8d3d7ed67
net/rds: correct socket tunable error in rds_tcp_tune()

Correct an error where setting /proc/sys/net/rds/tcp/rds_tcp_rcvbuf would
instead modify the socket's sk_sndbuf and would leave sk_rcvbuf untouched.

Fixes: da5c1e384d6c ("RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket")
Signed-off-by: William Kucharski <william.kucharski@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp.c