]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: implement memory accounting for mptcp rtx queue
authorPaolo Abeni <pabeni@redhat.com>
Fri, 27 Mar 2020 21:48:45 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:14:48 +0000 (22:14 -0700)
commit2d78ca32e409185814843323ffe30ccf52e0432d
treef7947a56e28119eb1497e905d1a4a0ed267e0147
parentdb46f961c1b5661c0952d7fcfb71676db9f67399
mptcp: implement memory accounting for mptcp rtx queue

Charge the data on the rtx queue to the master MPTCP socket, too.
Such memory in uncharged when the data is acked/dequeued.

Also account mptcp sockets inuse via a protocol specific pcpu
counter.

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