aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2020-12-16 12:48:35 +0100
committerJakub Kicinski <[email protected]>2020-12-17 10:24:47 -0800
commit13e1603739e58e94e7a3c24191fa2dcd1a8a5df3 (patch)
treea9b0f58d59f988a5b21653f7cc648fd99043251b /lib/test_overflow.c
parent219d04992b689e0498ece02d2a451f2b6e2563a9 (diff)
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 <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions