All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] Re: [MPTCP][PATCH v5 mptcp-next 0/4] Add REMOVE_ADDR support
@ 2020-08-10  6:24 Geliang Tang
  0 siblings, 0 replies; 4+ messages in thread
From: Geliang Tang @ 2020-08-10  6:24 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]

Hi Matt, Paolo,

On Thu, Aug 06, 2020 at 08:33:04PM +0200, Matthieu Baerts wrote:
> Hi Geliang, Paolo,
> 
> On 04/08/2020 12:01, Geliang Tang wrote:
> > 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 (4):
> >    mptcp: rename addr_signal and the related functions
> >    mptcp: add the outgoing RM_ADDR support
> >    mptcp: add the incoming RM_ADDR support
> >    mptcp: remove addr and subflow in PM netlink
> 
> Thank you for the patches and the reviews!
> 
> I just added these patches except the last one in the "export" branch.
> 
> Tests are still green!
>

Thanks for applying my patches. The last patch is still have a bug in
it, sometimes it will trigger a deadlock. I'll try my best to fix this
bug. Then I'll send out the final version of the last patch.

Meanwhile, I'm writting the selttest test case for RM_ADDR. It's not
finish yet. I'll send out the test patch recently.

-Geliang

> Cheers,
> Matt
> -- 
> Tessares | Belgium | Hybrid Access Solutions
> www.tessares.net

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v5 mptcp-next 0/4] Add REMOVE_ADDR support
@ 2020-08-11  9:29 Geliang Tang
  0 siblings, 0 replies; 4+ messages in thread
From: Geliang Tang @ 2020-08-11  9:29 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 2297 bytes --]

Hi Matt, Paolo,

On Mon, Aug 10, 2020 at 02:24:56PM +0800, Geliang Tang wrote:
> Hi Matt, Paolo,
> 
> On Thu, Aug 06, 2020 at 08:33:04PM +0200, Matthieu Baerts wrote:
> > Hi Geliang, Paolo,
> > 
> > On 04/08/2020 12:01, Geliang Tang wrote:
> > > 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 (4):
> > >    mptcp: rename addr_signal and the related functions
> > >    mptcp: add the outgoing RM_ADDR support
> > >    mptcp: add the incoming RM_ADDR support
> > >    mptcp: remove addr and subflow in PM netlink
> > 
> > Thank you for the patches and the reviews!
> > 
> > I just added these patches except the last one in the "export" branch.
> > 
> > Tests are still green!
> >
> 
> Thanks for applying my patches. The last patch is still have a bug in
> it, sometimes it will trigger a deadlock. I'll try my best to fix this

Sorry, I made a mistake here. This is not a deadlock issue caused by the
last patch in my patchset v5. It's a NULL pointer panic. And this bug has
been fixed by Paolo's patch "mptcp: be careful on subflow creation".

So here I sent out a new version of my patchset, v6. In this new version,
I updated the patch as Paolo suggested. And I added the selttest test
case for the remove addr and subflow.

Thanks.
-Geliang

> bug. Then I'll send out the final version of the last patch.
> 
> Meanwhile, I'm writting the selttest test case for RM_ADDR. It's not
> finish yet. I'll send out the test patch recently.
> 
> -Geliang
> 
> > Cheers,
> > Matt
> > -- 
> > Tessares | Belgium | Hybrid Access Solutions
> > www.tessares.net

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v5 mptcp-next 0/4] Add REMOVE_ADDR support
@ 2020-08-06 18:33 Matthieu Baerts
  0 siblings, 0 replies; 4+ messages in thread
From: Matthieu Baerts @ 2020-08-06 18:33 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

Hi Geliang, Paolo,

On 04/08/2020 12:01, Geliang Tang wrote:
> 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 (4):
>    mptcp: rename addr_signal and the related functions
>    mptcp: add the outgoing RM_ADDR support
>    mptcp: add the incoming RM_ADDR support
>    mptcp: remove addr and subflow in PM netlink

Thank you for the patches and the reviews!

I just added these patches except the last one in the "export" branch.

Tests are still green!

Cheers,
Matt
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [MPTCP] Re: [MPTCP][PATCH v5 mptcp-next 0/4] Add REMOVE_ADDR support
@ 2020-08-04 10:59 Paolo Abeni
  0 siblings, 0 replies; 4+ messages in thread
From: Paolo Abeni @ 2020-08-04 10:59 UTC (permalink / raw)
  To: mptcp 

[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]

On Tue, 2020-08-04 at 18:01 +0800, Geliang Tang wrote:
> 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 (4):
>   mptcp: rename addr_signal and the related functions
>   mptcp: add the outgoing RM_ADDR support
>   mptcp: add the incoming RM_ADDR support
>   mptcp: remove addr and subflow in PM netlink
> 
>  net/mptcp/options.c    |  48 ++++++++++++---
>  net/mptcp/pm.c         |  56 +++++++++++++++---
>  net/mptcp/pm_netlink.c | 129 +++++++++++++++++++++++++++++++++++++++--
>  net/mptcp/protocol.c   |  14 +++--
>  net/mptcp/protocol.h   |  28 +++++++--
>  net/mptcp/subflow.c    |   1 +
>  6 files changed, 248 insertions(+), 28 deletions(-)
> 
First 3 patches are IMHO ready to be merged on the export branch, while
the 4th one needs some additional lifting.

@Mat[s]: I propose to merge up to 3/4 (included) so Geliang could send
a new version only the last one.

WDYT?

Thanks,

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-11  9:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-10  6:24 [MPTCP] Re: [MPTCP][PATCH v5 mptcp-next 0/4] Add REMOVE_ADDR support Geliang Tang
  -- strict thread matches above, loose matches on Subject: below --
2020-08-11  9:29 Geliang Tang
2020-08-06 18:33 Matthieu Baerts
2020-08-04 10:59 Paolo Abeni

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.