Squash to: mptcp: Retransmit DATA_FIN
Subsystems (2)
PATCH 1/1 Squash to: mptcp: Retransmit DATA_FIN
Fix timer logic in __mptcp_clean_una(). Only look at DATA_FIN enable when snd_una and snd_nxt match to avoid bad calls to mptcp_reset_timer().
Thank you Paolo for adding the WARN_ON() to mptcp_reset_timer()!
--- net/mptcp/protocol.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
net/mptcp/protocol.c +2 -3
@@ -1069,9 +1069,8 @@ static void __mptcp_clean_una(struct sock *sk) } } -if (snd_una ==READ_ONCE (msk->snd_nxt) && - !mptcp_data_fin_enabled (msk)) { -if (msk->timer_ival) +if (snd_una ==READ_ONCE (msk->snd_nxt)) { +if (msk->timer_ival && !mptcp_data_fin_enabled (msk))mptcp_stop_timer (sk); }else {mptcp_reset_timer (sk);
Signature · 1 line
2.31.1
Hi Mat,
Quoted 4 lines · Mat Martineau
Fix timer logic in
__mptcp_clean_una(). Only look atDATA_FINenable whensnd_unaandsnd_nxtmatch to avoid bad calls tomptcp_reset_timer().Thank you Paolo for adding the
WARN_ON()tomptcp_reset_timer()!
Thank you for the squash-to patch!
Now in our tree:
- 6d3e80805071: "squashed" in "mptcp: Retransmit DATA_FIN"
- Results: fb56846176f2..b48a833e40ba
Builds and tests are now in progress:
https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20210422T082529
https://github.com/multipath-tcp/mptcp_net-next/actions/workflows/build-validation.yml?query=branch:export/20210422T082529
Cheers,
Matt
Signature · 2 lines
Tessares | Belgium | Hybrid Access Solutions www.tessares.net