net/smc: allow sysctl rmem and wmem defaults for servers
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 8 Aug 2018 12:13:20 +0000 (14:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 02:14:22 +0000 (19:14 -0700)
commitbd58c7e0860f54710907903ed6daff699d1fc5b9
treefd975fee0d30c909b35b655e560fcd9d6a128dbc
parentcaa21e19e08d7a1445116a93f7ab4e187ebbbadb
net/smc: allow sysctl rmem and wmem defaults for servers

Without setsockopt SO_SNDBUF and SO_RCVBUF settings, the sysctl
defaults net.ipv4.tcp_wmem and net.ipv4.tcp_rmem should be the base
for the sizes of the SMC sndbuf and rcvbuf. Any TCP buffer size
optimizations for servers should be ignored.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c