]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add rmem queue accounting
authorFlorian Westphal <fw@strlen.de>
Wed, 26 Feb 2020 09:14:49 +0000 (10:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:46:26 +0000 (20:46 -0800)
commit94eac95fe709d2e25a9a252efa7e9cc02e50a738
tree18f3dcf88e85968fbd7175b631791272ad96c0e6
parentfefa3fc2215f880083620be78707b7ae4037e6a4
mptcp: add rmem queue accounting

If userspace never drains the receive buffers we must stop draining
the subflow socket(s) at some point.

This adds the needed rmem accouting for this.
If the threshold is reached, we stop draining the subflows.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c