]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mptcp: refine memory scheduling
authorPaolo Abeni <pabeni@redhat.com>
Thu, 30 Jun 2022 22:17:56 +0000 (15:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 13:16:19 +0000 (15:16 +0200)
commitaf37d2080c2a8598a54945fc6df60e266c9dc43b
tree2dc77931358f2961525d99f37cedfa7272928b80
parentd729f0ee99a3c4ef8d515bd1a78dcafb86f3b8f8
mptcp: refine memory scheduling

commit 69d93daec026cdda98e29e8edb12534bfa5b1a9b upstream.

Similar to commit 7c80b038d23e ("net: fix sk_wmem_schedule() and
sk_rmem_schedule() errors"), let the MPTCP receive path schedule
exactly the required amount of memory.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mptcp/protocol.c