mptcp: don't grow mptcp socket receive buffer when rcvbuf is locked
authorFlorian Westphal <fw@strlen.de>
Fri, 6 Mar 2020 20:29:46 +0000 (21:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:30:08 +0000 (19:30 -0700)
commitec33916d47cbac546e0437b59e6ed779d3c31ac3
treeaa2e8d86f05c74838a972a71afbb8349856894db
parent8a4b910d005db03ce644e4657ae1fc512a67e596
mptcp: don't grow mptcp socket receive buffer when rcvbuf is locked

The mptcp rcvbuf size is adjusted according to the subflow rcvbuf size.
This should not be done if userspace did set a fixed value.

Fixes: 600911ff5f72bae ("mptcp: add rmem queue accounting")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c