]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 07:50:14 +0000 (08:50 +0100)
commit11560e97716c261e29f04ea1190aaa44456d8754
tree55de41b9b37a66fe9496fdfb12b5bd77a5b8c338
parent2fd949365fe6628fb22f9224782592cb1fff600c
net/rds: correct socket tunable error in rds_tcp_tune()

commit 19f36edf14bcdb783aef3af8217df96f76a8ce34 upstream.

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: c6a58ffed536 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/rds/tcp.c