Searched hist:"13 e1603739e58e94e7a3c24191fa2dcd1a8a5df3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/mptcp/ |
H A D | protocol.c | diff 13e1603739e58e94e7a3c24191fa2dcd1a8a5df3 Wed Dec 16 05:48:35 CST 2020 Paolo Abeni <pabeni@redhat.com> mptcp: fix pending data accounting
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") Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|