This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: Correctly set the tcp_tsorted_anchor on skbs
Since v4.15, the stack is using a list in skbs to handle the retransmissions. MPTCP does not really need it, but it needs to set/reset the list correctly on the skb. Thus, make sure we add and remove the skbs from the list with a call to tcp_update_skb_after_send() and list_del(&skb->tcp_tsorted_anchor);. We also need to call INIT_LIST_HEAD after calls to tcp_rtx_queue_unlink() because the latter sets all pointers to NULL. Fixes: 6a9aee5 ("mptcp: Fix tsorted_anchor usage") Signed-off-by: Christoph Paasch <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit 5919dd5) Signed-off-by: Matthieu Baerts <[email protected]> Conflicts: net/ipv4/tcp_output.c net/mptcp/mptcp_output.c
- Loading branch information
Showing
5 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters