* [MPTCP] Re: [PATCH mptcp-net v2] mptcp: fix pending data accounting
@ 2020-12-16 0:57 Mat Martineau
0 siblings, 0 replies; only message in thread
From: Mat Martineau @ 2020-12-16 0:57 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
On Mon, 14 Dec 2020, Paolo Abeni wrote:
> When sendmsg() needs to wait for memory, the pending data
> is not updated. That causes a drift in forward memory allocation,
> leading to stall and/or warnings at socket close time.
>
> This change addresses the above issue moving the pending data
> counter update inside the sendmsg() main loop.
>
> Fixes: 6e628cd3a8f7 ("mptcp: use mptcp release_cb for delayed tasks")
> Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
> ---
> v1 -> v2:
> - really fix broken accounting
> ---
> net/mptcp/protocol.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
Thanks Paolo, looks good for the -net tree.
Reviewed-by: Mat Martineau <mathew.j.martineau(a)linux.intel.com>
--
Mat Martineau
Intel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-16 0:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 0:57 [MPTCP] Re: [PATCH mptcp-net v2] mptcp: fix pending data accounting Mat Martineau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox