* [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support
@ 2020-09-10 19:22 Matthieu Baerts
0 siblings, 0 replies; 6+ messages in thread
From: Matthieu Baerts @ 2020-09-10 19:22 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 5360 bytes --]
Hi Geliang, Paolo,
On 08/09/2020 08:56, Geliang Tang wrote:
> Geliang Tang <geliangtang(a)gmail.com> 于2020年9月4日周五 下午1:07写道:
>>
>> Geliang Tang <geliangtang(a)gmail.com> 于2020年9月2日周三 下午5:40写道:
>>>
>>> v9:
>>> - update patch 3/8, simply call mptcp_pm_nl_rm_subflow_received.
>>> - update patch 5/8, use the reverse x-mas tree order.
>>> - this patchset should be applied after the applying of my another
>>> patchset, 'add ADD_ADDR echo flag support'.
>>>
>>> v8:
>>> - drop anno_list in v7.
>>> We don't need to add a new list, conn_list is enough for the signal
>>> address and local subflow.
>>> - fix local_id and remote_id issues.
>>> The RM_ADDR logic uses an address id to identify the removing
>>> address, so we must make sure the subflow's local_id and remote_id be
>>> set properly.
>>> - fix mptcp_pm_nl_rm_addr_received logic issue
>>> - update selftests
>>>
>>> v7:
>>> - add RM_ADDR mib
>>> - update RM_ADDR selftests test case
>>>
>>> v6:
>>> - rename lookup_anno_list_by_saddr to remove_anno_list_by_saddr as
>>> Paolo suggested.
>>> - add msk socket lock when traverse msk->conn_list as Paolo suggested.
>>> - Since the first three patches in v5 have been merged to export
>>> branch, drop them from this patchset.
>>> - add remove addr and subflow selftest test case.
>>> - this patchset is against mptcp_net-next's export branch.
>>>
>>> v5:
>>> - merge mptcp_nl_remove_subflow() and mptcp_nl_remove_addr()
>>> - add cond_resched
>>> - reduce the indentation level in mptcp_pm_nl_rm_addr_received
>>>
>>> v4:
>>> - update mptcp_subflow_shutdown()'s args.
>>> - add rm_id check to make sure we don't shutdown the first subflow.
>>> - add conn_list empty check.
>>> - move anno_list to mptcp_pm_data.
>>> - add a new patch 'mptcp: add remove subflow support'.
>>>
>>> v3:
>>> - fix memory leak and lock issue in v2.
>>> - drop alist in v2.
>>> - fix mptcp_subflow_shutdown's arguments.
>>> - bzero remote in mptcp_pm_create_subflow_or_signal_addr.
>>> - add more commit message.
>>>
>>> Geliang Tang (8):
>>> 1/8 mptcp: remove addr and subflow in PM netlink
>>> 2/8 mptcp: fix mptcp_pm_nl_rm_addr_received logic issue
>>> 3/8 mptcp: implement mptcp_pm_remove_subflow
>>> 4/8 mptcp: fix every subflow's local_id is zero
>>> 5/8 mptcp: fix subflow's remote_id is zero issue
>>> 6/8 mptcp: add RM_ADDR related mibs
>>> 7/8 selftests: mptcp: add remove cfg in mptcp_connect
>>> 8/8 selftests: mptcp: add remove addr and subflow test cases
Thank you for the patches and the reviews!
>>
>> Hi Paolo, Matt,
>>
>> I want to adjust some code in this patchset.
>>
>> I think patch 2/8 "mptcp: fix mptcp_pm_nl_rm_addr_received logic issue"
>> shouldn't be here, it's better to squash-to the original commit "mptcp: add
>> the incoming RM_ADDR support".
>>
>> So I have sent out a new patch named 'Squash-to: "mptcp: add the incoming
>> RM_ADDR support"' yesterday.
>>
>> And I want to commit patch 4/8 "mptcp: fix every subflow's local_id is zero"
>> and 5/8 "mptcp: fix subflow's remote_id is zero issue" directly to -net as Paolo
>> suggested. Some code about subflow's remote_id fixing in the commit "mptcp:
>> add the incoming RM_ADDR support" should be put together in patch 5/8.
>> So in the squash-to patch, I drop the original subflow's remote_id fixing code.
>>
>> Please give me some suggestions about my squash-to patch.
>>
>> Thanks.
>> -Geliang
>>
>
> Hi Matt, Paolo,
>
> After this code adjusting, the valid patches in this "RM_ADDR
> support" patchset v9 are these 8 patches:
>
> Squash-to: "mptcp: add the incoming RM_ADDR support"
Applied, see my previous message on the ML for more details.
> mptcp: remove addr and subflow in PM netlink
Applied here with Paolo's ACK.
> Squash-to: "mptcp: remove addr and subflow in PM netlink v9"
Not applied, waiting for Paolo's ACK. He will do that when this series
is applied and validated by the CI
> mptcp: implement mptcp_pm_remove_subflow
Applied here but without Paolo's ACK, see below.
> Squash-to: "mptcp: implement mptcp_pm_remove_subflow v9"
I had to apply this one, required by the next patch. Because it was not
ACKed by anyone on the ML so far, I didn't add any ACK here. I can add
one later if needed.
> mptcp: add RM_ADDR related mibs
Applied here with Paolo's ACK.
Note that because I applied this series before the xmit one, I had to
resolve two simple conflicts:
- 2c9aa6f86e74: conflict in t/mptcp-add-OoO-related-mibs
> selftests: mptcp: add remove cfg in mptcp_connect
> selftests: mptcp: add remove addr and subflow test cases
These 2 have been applied here with Paolo's ACK.
> These 3 patches should be removed from this patchset:
> mptcp: fix mptcp_pm_nl_rm_addr_received logic issue
> mptcp: fix every subflow's local_id is zero
> mptcp: fix subflow's remote_id is zero issue
Note that I applied the patches you sent to netdev ML for -net. So a
part of them are also in the export branch.
- 377cd31c5d51..95751f085d69: results
Tests + export are queued.
Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support
@ 2020-09-08 6:56 Geliang Tang
0 siblings, 0 replies; 6+ messages in thread
From: Geliang Tang @ 2020-09-08 6:56 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 4797 bytes --]
Geliang Tang <geliangtang(a)gmail.com> 于2020年9月4日周五 下午1:07写道:
>
> Geliang Tang <geliangtang(a)gmail.com> 于2020年9月2日周三 下午5:40写道:
> >
> > v9:
> > - update patch 3/8, simply call mptcp_pm_nl_rm_subflow_received.
> > - update patch 5/8, use the reverse x-mas tree order.
> > - this patchset should be applied after the applying of my another
> > patchset, 'add ADD_ADDR echo flag support'.
> >
> > v8:
> > - drop anno_list in v7.
> > We don't need to add a new list, conn_list is enough for the signal
> > address and local subflow.
> > - fix local_id and remote_id issues.
> > The RM_ADDR logic uses an address id to identify the removing
> > address, so we must make sure the subflow's local_id and remote_id be
> > set properly.
> > - fix mptcp_pm_nl_rm_addr_received logic issue
> > - update selftests
> >
> > v7:
> > - add RM_ADDR mib
> > - update RM_ADDR selftests test case
> >
> > v6:
> > - rename lookup_anno_list_by_saddr to remove_anno_list_by_saddr as
> > Paolo suggested.
> > - add msk socket lock when traverse msk->conn_list as Paolo suggested.
> > - Since the first three patches in v5 have been merged to export
> > branch, drop them from this patchset.
> > - add remove addr and subflow selftest test case.
> > - this patchset is against mptcp_net-next's export branch.
> >
> > v5:
> > - merge mptcp_nl_remove_subflow() and mptcp_nl_remove_addr()
> > - add cond_resched
> > - reduce the indentation level in mptcp_pm_nl_rm_addr_received
> >
> > v4:
> > - update mptcp_subflow_shutdown()'s args.
> > - add rm_id check to make sure we don't shutdown the first subflow.
> > - add conn_list empty check.
> > - move anno_list to mptcp_pm_data.
> > - add a new patch 'mptcp: add remove subflow support'.
> >
> > v3:
> > - fix memory leak and lock issue in v2.
> > - drop alist in v2.
> > - fix mptcp_subflow_shutdown's arguments.
> > - bzero remote in mptcp_pm_create_subflow_or_signal_addr.
> > - add more commit message.
> >
> > Geliang Tang (8):
> > 1/8 mptcp: remove addr and subflow in PM netlink
> > 2/8 mptcp: fix mptcp_pm_nl_rm_addr_received logic issue
> > 3/8 mptcp: implement mptcp_pm_remove_subflow
> > 4/8 mptcp: fix every subflow's local_id is zero
> > 5/8 mptcp: fix subflow's remote_id is zero issue
> > 6/8 mptcp: add RM_ADDR related mibs
> > 7/8 selftests: mptcp: add remove cfg in mptcp_connect
> > 8/8 selftests: mptcp: add remove addr and subflow test cases
>
> Hi Paolo, Matt,
>
> I want to adjust some code in this patchset.
>
> I think patch 2/8 "mptcp: fix mptcp_pm_nl_rm_addr_received logic issue"
> shouldn't be here, it's better to squash-to the original commit "mptcp: add
> the incoming RM_ADDR support".
>
> So I have sent out a new patch named 'Squash-to: "mptcp: add the incoming
> RM_ADDR support"' yesterday.
>
> And I want to commit patch 4/8 "mptcp: fix every subflow's local_id is zero"
> and 5/8 "mptcp: fix subflow's remote_id is zero issue" directly to -net as Paolo
> suggested. Some code about subflow's remote_id fixing in the commit "mptcp:
> add the incoming RM_ADDR support" should be put together in patch 5/8.
> So in the squash-to patch, I drop the original subflow's remote_id fixing code.
>
> Please give me some suggestions about my squash-to patch.
>
> Thanks.
> -Geliang
>
Hi Matt, Paolo,
After this code adjusting, the valid patches in this "RM_ADDR
support" patchset v9 are these 8 patches:
Squash-to: "mptcp: add the incoming RM_ADDR support"
mptcp: remove addr and subflow in PM netlink
Squash-to: "mptcp: remove addr and subflow in PM netlink v9"
mptcp: implement mptcp_pm_remove_subflow
Squash-to: "mptcp: implement mptcp_pm_remove_subflow v9"
mptcp: add RM_ADDR related mibs
selftests: mptcp: add remove cfg in mptcp_connect
selftests: mptcp: add remove addr and subflow test cases
These 3 patches should be removed from this patchset:
mptcp: fix mptcp_pm_nl_rm_addr_received logic issue
mptcp: fix every subflow's local_id is zero
mptcp: fix subflow's remote_id is zero issue
-Geliang
-Geliang
> >
> > net/mptcp/mib.c | 2 +
> > net/mptcp/mib.h | 2 +
> > net/mptcp/pm.c | 15 +-
> > net/mptcp/pm_netlink.c | 107 +++++++++++--
> > net/mptcp/protocol.h | 3 +-
> > net/mptcp/subflow.c | 8 +-
> > .../selftests/net/mptcp/mptcp_connect.c | 18 ++-
> > .../testing/selftests/net/mptcp/mptcp_join.sh | 145 +++++++++++++++++-
> > 8 files changed, 276 insertions(+), 24 deletions(-)
> >
> > --
> > 2.17.1
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support
@ 2020-09-08 6:52 Geliang Tang
0 siblings, 0 replies; 6+ messages in thread
From: Geliang Tang @ 2020-09-08 6:52 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 4028 bytes --]
Geliang Tang <geliangtang(a)gmail.com> 于2020年9月4日周五 下午1:07写道:
>
> Geliang Tang <geliangtang(a)gmail.com> 于2020年9月2日周三 下午5:40写道:
> >
> > v9:
> > - update patch 3/8, simply call mptcp_pm_nl_rm_subflow_received.
> > - update patch 5/8, use the reverse x-mas tree order.
> > - this patchset should be applied after the applying of my another
> > patchset, 'add ADD_ADDR echo flag support'.
> >
> > v8:
> > - drop anno_list in v7.
> > We don't need to add a new list, conn_list is enough for the signal
> > address and local subflow.
> > - fix local_id and remote_id issues.
> > The RM_ADDR logic uses an address id to identify the removing
> > address, so we must make sure the subflow's local_id and remote_id be
> > set properly.
> > - fix mptcp_pm_nl_rm_addr_received logic issue
> > - update selftests
> >
> > v7:
> > - add RM_ADDR mib
> > - update RM_ADDR selftests test case
> >
> > v6:
> > - rename lookup_anno_list_by_saddr to remove_anno_list_by_saddr as
> > Paolo suggested.
> > - add msk socket lock when traverse msk->conn_list as Paolo suggested.
> > - Since the first three patches in v5 have been merged to export
> > branch, drop them from this patchset.
> > - add remove addr and subflow selftest test case.
> > - this patchset is against mptcp_net-next's export branch.
> >
> > v5:
> > - merge mptcp_nl_remove_subflow() and mptcp_nl_remove_addr()
> > - add cond_resched
> > - reduce the indentation level in mptcp_pm_nl_rm_addr_received
> >
> > v4:
> > - update mptcp_subflow_shutdown()'s args.
> > - add rm_id check to make sure we don't shutdown the first subflow.
> > - add conn_list empty check.
> > - move anno_list to mptcp_pm_data.
> > - add a new patch 'mptcp: add remove subflow support'.
> >
> > v3:
> > - fix memory leak and lock issue in v2.
> > - drop alist in v2.
> > - fix mptcp_subflow_shutdown's arguments.
> > - bzero remote in mptcp_pm_create_subflow_or_signal_addr.
> > - add more commit message.
> >
> > Geliang Tang (8):
> > 1/8 mptcp: remove addr and subflow in PM netlink
> > 2/8 mptcp: fix mptcp_pm_nl_rm_addr_received logic issue
> > 3/8 mptcp: implement mptcp_pm_remove_subflow
> > 4/8 mptcp: fix every subflow's local_id is zero
> > 5/8 mptcp: fix subflow's remote_id is zero issue
> > 6/8 mptcp: add RM_ADDR related mibs
> > 7/8 selftests: mptcp: add remove cfg in mptcp_connect
> > 8/8 selftests: mptcp: add remove addr and subflow test cases
>
> Hi Paolo, Matt,
>
> I want to adjust some code in this patchset.
>
> I think patch 2/8 "mptcp: fix mptcp_pm_nl_rm_addr_received logic issue"
> shouldn't be here, it's better to squash-to the original commit "mptcp: add
> the incoming RM_ADDR support".
>
> So I have sent out a new patch named 'Squash-to: "mptcp: add the incoming
> RM_ADDR support"' yesterday.
>
> And I want to commit patch 4/8 "mptcp: fix every subflow's local_id is zero"
> and 5/8 "mptcp: fix subflow's remote_id is zero issue" directly to -net as Paolo
> suggested. Some code about subflow's remote_id fixing in the commit "mptcp:
> add the incoming RM_ADDR support" should be put together in patch 5/8.
> So in the squash-to patch, I drop the original subflow's remote_id fixing code.
>
> Please give me some suggestions about my squash-to patch.
>
> Thanks.
> -Geliang
>
> >
> > net/mptcp/mib.c | 2 +
> > net/mptcp/mib.h | 2 +
> > net/mptcp/pm.c | 15 +-
> > net/mptcp/pm_netlink.c | 107 +++++++++++--
> > net/mptcp/protocol.h | 3 +-
> > net/mptcp/subflow.c | 8 +-
> > .../selftests/net/mptcp/mptcp_connect.c | 18 ++-
> > .../testing/selftests/net/mptcp/mptcp_join.sh | 145 +++++++++++++++++-
> > 8 files changed, 276 insertions(+), 24 deletions(-)
> >
> > --
> > 2.17.1
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support
@ 2020-09-08 3:56 Geliang Tang
0 siblings, 0 replies; 6+ messages in thread
From: Geliang Tang @ 2020-09-08 3:56 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
Hi Matt,
Paolo Abeni <pabeni(a)redhat.com> 于2020年9月7日周一 下午5:52写道:
>
> On Fri, 2020-09-04 at 13:07 +0800, Geliang Tang wrote:
> > And I want to commit patch 4/8 "mptcp: fix every subflow's local_id is zero"
> > and 5/8 "mptcp: fix subflow's remote_id is zero issue" directly to -net as Paolo
> > suggested.
>
> I think you can go ahead and post them upstream. The sooner, the better
> - than we will have to wait for -net merge into net-next to push the
> patches depending on the above ones.
>
> > Some code about subflow's remote_id fixing in the commit "mptcp:
> > add the incoming RM_ADDR support" should be put together in patch 5/8.
> > So in the squash-to patch, I drop the original subflow's remote_id fixing code.
> >
> > Please give me some suggestions about my squash-to patch.
>
> LGTM ;)
Please help me to squash this squash-to patch (Squash-to: "mptcp: add
the incoming
RM_ADDR support") to the original commit, since some of my patches are depend on
this changes.
Thanks.
-Geliang
>
> Thanks,
>
> Paolo
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support
@ 2020-09-07 9:51 Paolo Abeni
0 siblings, 0 replies; 6+ messages in thread
From: Paolo Abeni @ 2020-09-07 9:51 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 740 bytes --]
On Fri, 2020-09-04 at 13:07 +0800, Geliang Tang wrote:
> And I want to commit patch 4/8 "mptcp: fix every subflow's local_id is zero"
> and 5/8 "mptcp: fix subflow's remote_id is zero issue" directly to -net as Paolo
> suggested.
I think you can go ahead and post them upstream. The sooner, the better
- than we will have to wait for -net merge into net-next to push the
patches depending on the above ones.
> Some code about subflow's remote_id fixing in the commit "mptcp:
> add the incoming RM_ADDR support" should be put together in patch 5/8.
> So in the squash-to patch, I drop the original subflow's remote_id fixing code.
>
> Please give me some suggestions about my squash-to patch.
LGTM ;)
Thanks,
Paolo
^ permalink raw reply [flat|nested] 6+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support
@ 2020-09-04 5:07 Geliang Tang
0 siblings, 0 replies; 6+ messages in thread
From: Geliang Tang @ 2020-09-04 5:07 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 3754 bytes --]
Geliang Tang <geliangtang(a)gmail.com> 于2020年9月2日周三 下午5:40写道:
>
> v9:
> - update patch 3/8, simply call mptcp_pm_nl_rm_subflow_received.
> - update patch 5/8, use the reverse x-mas tree order.
> - this patchset should be applied after the applying of my another
> patchset, 'add ADD_ADDR echo flag support'.
>
> v8:
> - drop anno_list in v7.
> We don't need to add a new list, conn_list is enough for the signal
> address and local subflow.
> - fix local_id and remote_id issues.
> The RM_ADDR logic uses an address id to identify the removing
> address, so we must make sure the subflow's local_id and remote_id be
> set properly.
> - fix mptcp_pm_nl_rm_addr_received logic issue
> - update selftests
>
> v7:
> - add RM_ADDR mib
> - update RM_ADDR selftests test case
>
> v6:
> - rename lookup_anno_list_by_saddr to remove_anno_list_by_saddr as
> Paolo suggested.
> - add msk socket lock when traverse msk->conn_list as Paolo suggested.
> - Since the first three patches in v5 have been merged to export
> branch, drop them from this patchset.
> - add remove addr and subflow selftest test case.
> - this patchset is against mptcp_net-next's export branch.
>
> v5:
> - merge mptcp_nl_remove_subflow() and mptcp_nl_remove_addr()
> - add cond_resched
> - reduce the indentation level in mptcp_pm_nl_rm_addr_received
>
> v4:
> - update mptcp_subflow_shutdown()'s args.
> - add rm_id check to make sure we don't shutdown the first subflow.
> - add conn_list empty check.
> - move anno_list to mptcp_pm_data.
> - add a new patch 'mptcp: add remove subflow support'.
>
> v3:
> - fix memory leak and lock issue in v2.
> - drop alist in v2.
> - fix mptcp_subflow_shutdown's arguments.
> - bzero remote in mptcp_pm_create_subflow_or_signal_addr.
> - add more commit message.
>
> Geliang Tang (8):
> 1/8 mptcp: remove addr and subflow in PM netlink
> 2/8 mptcp: fix mptcp_pm_nl_rm_addr_received logic issue
> 3/8 mptcp: implement mptcp_pm_remove_subflow
> 4/8 mptcp: fix every subflow's local_id is zero
> 5/8 mptcp: fix subflow's remote_id is zero issue
> 6/8 mptcp: add RM_ADDR related mibs
> 7/8 selftests: mptcp: add remove cfg in mptcp_connect
> 8/8 selftests: mptcp: add remove addr and subflow test cases
Hi Paolo, Matt,
I want to adjust some code in this patchset.
I think patch 2/8 "mptcp: fix mptcp_pm_nl_rm_addr_received logic issue"
shouldn't be here, it's better to squash-to the original commit "mptcp: add
the incoming RM_ADDR support".
So I have sent out a new patch named 'Squash-to: "mptcp: add the incoming
RM_ADDR support"' yesterday.
And I want to commit patch 4/8 "mptcp: fix every subflow's local_id is zero"
and 5/8 "mptcp: fix subflow's remote_id is zero issue" directly to -net as Paolo
suggested. Some code about subflow's remote_id fixing in the commit "mptcp:
add the incoming RM_ADDR support" should be put together in patch 5/8.
So in the squash-to patch, I drop the original subflow's remote_id fixing code.
Please give me some suggestions about my squash-to patch.
Thanks.
-Geliang
>
> net/mptcp/mib.c | 2 +
> net/mptcp/mib.h | 2 +
> net/mptcp/pm.c | 15 +-
> net/mptcp/pm_netlink.c | 107 +++++++++++--
> net/mptcp/protocol.h | 3 +-
> net/mptcp/subflow.c | 8 +-
> .../selftests/net/mptcp/mptcp_connect.c | 18 ++-
> .../testing/selftests/net/mptcp/mptcp_join.sh | 145 +++++++++++++++++-
> 8 files changed, 276 insertions(+), 24 deletions(-)
>
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-09-10 19:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 19:22 [MPTCP] Re: [MPTCP][PATCH v9 mptcp-next 0/8] Add REMOVE_ADDR support Matthieu Baerts
-- strict thread matches above, loose matches on Subject: below --
2020-09-08 6:56 Geliang Tang
2020-09-08 6:52 Geliang Tang
2020-09-08 3:56 Geliang Tang
2020-09-07 9:51 Paolo Abeni
2020-09-04 5:07 Geliang Tang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.