Skip to contentSkip to conversation

Rebase request

MPTCP Peter Krystad 3 participants 4 messages Jan 8, 2020

Subsystems (2)
lore
Share & tools
lore

Peter Krystad

author
#0 lore raw

I would like to switch the order of the two commits: "Add path manager interface" and "Add ADD_ADDR handling". The addition of ADD_ADDR option handling and adding the path manager interface is muddled between these two commits, this switch will clean this up and make further patches for optimizing mptcp_options_received structure cleaner.

I've done the work here:

https://github.com/pkrystad/mptcp_net-next/tree/switched-0107

git diff 3f1306e95e7a..ecd861ac7dc9 (updated export branch today) is no changes, I only modified the two affected commits.

Matthieu: let me know how you want to proceed.

And Happy New Year everyone!

Peter.

#1 lore raw
Quoted 9 lines · Peter Krystad

I would like to switch the order of the two commits: "Add path manager interface" and "Add ADD_ADDR handling". The addition of ADD_ADDR option handling and adding the path manager interface is muddled between these two commits, this switch will clean this up and make further patches for optimizing mptcp_options_received structure cleaner.

I've done the work here:

https://github.com/pkrystad/mptcp_net-next/tree/switched-0107

I agree the code is cleaner/clearer this way, LGTM!

Thanks,

Paolo

#2 lore raw

Hi Peter, Paolo,

Quoted 7 lines · Paolo Abeni
Quoted 6 lines · Peter Krystad

I would like to switch the order of the two commits: "Add path manager interface" and "Add ADD_ADDR handling". The addition of ADD_ADDR option handling and adding the path manager interface is muddled between these two commits, this switch will clean this up and make further patches for optimizing mptcp_options_received structure cleaner.

Quoted 5 lines
Quoted 3 lines

I've done the work here:

https://github.com/pkrystad/mptcp_net-next/tree/switched-0107

I agree the code is cleaner/clearer this way, LGTM!

Thank you for the rebase and the review!

"mptcp: Add path manager interface" topic:

- eafbb1db164d: tg: revert t/mptcp-Add-path-manager-interface

"mptcp: Add ADD_ADDR handling" topic:

- b1bc561674d7: conflict in t/mptcp-Add-ADD_ADDR-handling
- 8960e50e483e: mptcp:options: remove PM part
- 3be7f0d27220: tg: now depends on t/mptcp-cope-with-later-TCP-fallback

"mptcp: Add path manager interface" topic:

- 991423c2cb16: tg: now depends on t/mptcp-Add-ADD_ADDR-handling
- f2c4091bab23: Revert "tg: revert t/mptcp-Add-path-manager-interface"
- 13ce67bc877b: Revert "mptcp:options: remove PM part"

"mptcp: Add handling of incoming MP_JOIN requests" topic:

- f0ecd83da95e: tg: now depends on t/mptcp-Add-path-manager-interface

t/upstream:

- 39373958a458..d2cef9d0ec37: result

Remaining diff:

=======

net/mptcp/protocol.h +0 -0
index ead95592d9eb..aec7ecd1d709 100644
@@ -147,8 +147,8 @@ struct mptcp_sock {
         struct skb_ext  *cached_ext;    /* for the next sendmsg */
         struct socket   *subflow; /* outgoing 

connect/listener/!mp_capable */

         struct sock     *first;
-       struct mptcp_pm_data    pm;
         u8              addr_signal;

+ struct mptcp_pm_data pm;
};

  #define mptcp_for_each_subflow(__msk, __subflow)                       \

=======

I kept this as it seems to better reflect the new commit order, plus we keep the alignment up to the last item and we add the inclusion of the PM structure at the end.

Tell me if you prefer to change this.

Cheers,
Matt

Signature · 5 lines
Matthieu Baerts | R&D Engineer
matthieu.baerts(a)tessares.net
Tessares SA | Hybrid Access Solutions
www.tessares.net
1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium
#3 lore raw
In reply to Peter Krystad

Hi Peter,

Quoted 6 lines · Peter Krystad

I would like to switch the order of the two commits: "Add path manager interface" and "Add ADD_ADDR handling". The addition of ADD_ADDR option handling and adding the path manager interface is muddled between these two commits, this switch will clean this up and make further patches for optimizing mptcp_options_received structure cleaner.

Good idea!

Quoted 8 lines

I've done the work here:

https://github.com/pkrystad/mptcp_net-next/tree/switched-0107

git diff 3f1306e95e7a..ecd861ac7dc9 (updated export branch today) is no changes, I only modified the two affected commits.

Matthieu: let me know how you want to proceed.

I am looking at that now!
I will do the modifications in the TopGit tree to ease the reviews.

Quoted 1 line

And Happy New Year everyone!

Thank you! Happy New Year!

Cheers,
Matt

Signature · 5 lines
Matthieu Baerts | R&D Engineer
matthieu.baerts(a)tessares.net
Tessares SA | Hybrid Access Solutions
www.tessares.net
1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium