All of lore.kernel.org
 help / color / mirror / Atom feed
* MPTCP upstreaming, week of 26-Sept-2022
@ 2022-09-27  0:10 Mat Martineau
  2022-09-27  8:07 ` Matthieu Baerts
  0 siblings, 1 reply; 5+ messages in thread
From: Mat Martineau @ 2022-09-27  0:10 UTC (permalink / raw)
  To: Matthieu Baerts, Paolo Abeni, mptcp

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


Matthieu and Paolo -

I upstreamed the fastopen changes for net-next today, so those are in the 
patchwork queue for the netdev maintainers:

https://patchwork.kernel.org/project/netdevbpf/list/?series=680767


The other patch sets we discussed upstreaming in the meeting last week 
were:

     - Fixes for -net:

         - [6e827151a607] mptcp: factor out __mptcp_close() without socket lock (Menglong Dong)
         - [62b5536f77f6] mptcp: fix unreleased socket in accept queue (Menglong Dong):
             - can wait a bit more and can be sent next week


     - Features for net-next:

         - [ef4a93571133] mptcp: propagate fastclose error (Paolo Abeni)
         - [885cab8b5203] mptcp: use fastclose on more edge scenarios (Paolo Abeni)
         - [13c82c8b0d9f] selftests: mptcp: update and extend fastclose test-cases (Paolo Abeni):
             - can wait a bit, Paolo would like to have a look at the modification on packetdrill side


I'm planning to upstream the two -net patches on Tuesday unless someone 
objects.


The net-next patches are slightly more complicated:

  * They were updated with a squash-to patch today
  * Need to wait until fastopen patches are merged
  * There is a minor conflict with the -net patches (just diff context)
    in "mptcp: use fastclose on more edge scenarios".


Regarding the conflict, I could wait until Friday for a likely 
net/net-next sync.

Another option is to modify the patch slightly by moving 
mptcp_check_readable() before __mptcp_check_send_data_fin(), it doesn't 
make the diff any larger and avoids the -net conflict. What do you think?

--
Mat Martineau
Intel

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

* Re: MPTCP upstreaming, week of 26-Sept-2022
  2022-09-27  0:10 MPTCP upstreaming, week of 26-Sept-2022 Mat Martineau
@ 2022-09-27  8:07 ` Matthieu Baerts
  2022-09-27 14:11   ` Paolo Abeni
  0 siblings, 1 reply; 5+ messages in thread
From: Matthieu Baerts @ 2022-09-27  8:07 UTC (permalink / raw)
  To: Mat Martineau, Paolo Abeni; +Cc: mptcp

Hi Mat, Paolo,

On 27/09/2022 02:10, Mat Martineau wrote:
> 
> Matthieu and Paolo -
> 
> I upstreamed the fastopen changes for net-next today, so those are in
> the patchwork queue for the netdev maintainers:
> 
> https://patchwork.kernel.org/project/netdevbpf/list/?series=680767

Thank you!

> The other patch sets we discussed upstreaming in the meeting last week
> were:
> 
>     - Fixes for -net:
> 
>         - [6e827151a607] mptcp: factor out __mptcp_close() without
> socket lock (Menglong Dong)
>         - [62b5536f77f6] mptcp: fix unreleased socket in accept queue
> (Menglong Dong):
>             - can wait a bit more and can be sent next week
> 
> 
>     - Features for net-next:
> 
>         - [ef4a93571133] mptcp: propagate fastclose error (Paolo Abeni)
>         - [885cab8b5203] mptcp: use fastclose on more edge scenarios
> (Paolo Abeni)
>         - [13c82c8b0d9f] selftests: mptcp: update and extend fastclose
> test-cases (Paolo Abeni):
>             - can wait a bit, Paolo would like to have a look at the
> modification on packetdrill side
> 
> 
> I'm planning to upstream the two -net patches on Tuesday unless someone
> objects.

Sounds good to me.

> The net-next patches are slightly more complicated:
> 
>  * They were updated with a squash-to patch today
>  * Need to wait until fastopen patches are merged

We should at least wait for the fastopen patches to be applied I suppose.

>  * There is a minor conflict with the -net patches (just diff context)
>    in "mptcp: use fastclose on more edge scenarios".
> 
> 
> Regarding the conflict, I could wait until Friday for a likely
> net/net-next sync.
> 
> Another option is to modify the patch slightly by moving
> mptcp_check_readable() before __mptcp_check_send_data_fin(), it doesn't
> make the diff any larger and avoids the -net conflict. What do you think?

We can also add a note in the commit and explain how to fix this
conflict. I think the function is at the right place but it can also be
moved if it eases stuff.

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

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

* Re: MPTCP upstreaming, week of 26-Sept-2022
  2022-09-27  8:07 ` Matthieu Baerts
@ 2022-09-27 14:11   ` Paolo Abeni
  2022-09-29 22:54     ` Mat Martineau
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Abeni @ 2022-09-27 14:11 UTC (permalink / raw)
  To: Matthieu Baerts, Mat Martineau; +Cc: mptcp

On Tue, 2022-09-27 at 10:07 +0200, Matthieu Baerts wrote:
> Hi Mat, Paolo,
> 
> On 27/09/2022 02:10, Mat Martineau wrote:
> > 
> > Matthieu and Paolo -
> > 
> > I upstreamed the fastopen changes for net-next today, so those are in
> > the patchwork queue for the netdev maintainers:
> > 
> > https://patchwork.kernel.org/project/netdevbpf/list/?series=680767
> 
> Thank you!
> 
> > The other patch sets we discussed upstreaming in the meeting last week
> > were:
> > 
> >     - Fixes for -net:
> > 
> >         - [6e827151a607] mptcp: factor out __mptcp_close() without
> > socket lock (Menglong Dong)
> >         - [62b5536f77f6] mptcp: fix unreleased socket in accept queue
> > (Menglong Dong):
> >             - can wait a bit more and can be sent next week
> > 
> > 
> >     - Features for net-next:
> > 
> >         - [ef4a93571133] mptcp: propagate fastclose error (Paolo Abeni)
> >         - [885cab8b5203] mptcp: use fastclose on more edge scenarios
> > (Paolo Abeni)
> >         - [13c82c8b0d9f] selftests: mptcp: update and extend fastclose
> > test-cases (Paolo Abeni):
> >             - can wait a bit, Paolo would like to have a look at the
> > modification on packetdrill side
> > 
> > 
> > I'm planning to upstream the two -net patches on Tuesday unless someone
> > objects.
> 
> Sounds good to me.
> 
> > The net-next patches are slightly more complicated:
> > 
> >  * They were updated with a squash-to patch today
> >  * Need to wait until fastopen patches are merged
> 
> We should at least wait for the fastopen patches to be applied I suppose.
> 
> >  * There is a minor conflict with the -net patches (just diff context)
> >    in "mptcp: use fastclose on more edge scenarios".
> > 
> > 
> > Regarding the conflict, I could wait until Friday for a likely
> > net/net-next sync.
> > 
> > Another option is to modify the patch slightly by moving
> > mptcp_check_readable() before __mptcp_check_send_data_fin(), it doesn't
> > make the diff any larger and avoids the -net conflict. What do you think?
> 
> We can also add a note in the commit and explain how to fix this
> conflict. I think the function is at the right place but it can also be
> moved if it eases stuff.


I think there is no rush for that patches. If the net patches will land
upstream soon, they will be likely merged by EoW. If there will be
another RC, we can rebase the net-next and send out still for 6.1,
othewise the fastclose patches can wait IMHO a few more weeks.

Cheers,

Paolo


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

* Re: MPTCP upstreaming, week of 26-Sept-2022
  2022-09-27 14:11   ` Paolo Abeni
@ 2022-09-29 22:54     ` Mat Martineau
  2022-09-30 14:13       ` Matthieu Baerts
  0 siblings, 1 reply; 5+ messages in thread
From: Mat Martineau @ 2022-09-29 22:54 UTC (permalink / raw)
  To: Paolo Abeni; +Cc: Matthieu Baerts, mptcp

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

On Tue, 27 Sep 2022, Paolo Abeni wrote:

> On Tue, 2022-09-27 at 10:07 +0200, Matthieu Baerts wrote:
>> Hi Mat, Paolo,
>>
>> On 27/09/2022 02:10, Mat Martineau wrote:
>>>
>>>     - Features for net-next:
>>>
>>>         - [ef4a93571133] mptcp: propagate fastclose error (Paolo Abeni)
>>>         - [885cab8b5203] mptcp: use fastclose on more edge scenarios
>>> (Paolo Abeni)
>>>         - [13c82c8b0d9f] selftests: mptcp: update and extend fastclose
>>> test-cases (Paolo Abeni):
>>>             - can wait a bit, Paolo would like to have a look at the
>>> modification on packetdrill side
>>>
>>>
>>> The net-next patches are slightly more complicated:
>>>
>>>  * They were updated with a squash-to patch today
>>>  * Need to wait until fastopen patches are merged
>>
>> We should at least wait for the fastopen patches to be applied I suppose.
>>
>>>  * There is a minor conflict with the -net patches (just diff context)
>>>    in "mptcp: use fastclose on more edge scenarios".
>>>
>>>
>>> Regarding the conflict, I could wait until Friday for a likely
>>> net/net-next sync.
>>>
>>> Another option is to modify the patch slightly by moving
>>> mptcp_check_readable() before __mptcp_check_send_data_fin(), it doesn't
>>> make the diff any larger and avoids the -net conflict. What do you think?
>>
>> We can also add a note in the commit and explain how to fix this
>> conflict. I think the function is at the right place but it can also be
>> moved if it eases stuff.
>
>
> I think there is no rush for that patches. If the net patches will land
> upstream soon, they will be likely merged by EoW. If there will be
> another RC, we can rebase the net-next and send out still for 6.1,
> othewise the fastclose patches can wait IMHO a few more weeks.
>

Thanks Paolo.

With the net and net-next patches for MPTCP just merged today, and the 
backlog in netdev patchwork, I'll wait on the fastclose changes:

ee1e43f10dc5 mptcp: update misleading comments.
d1c02fee7732 selftests: mptcp: update and extend fastclose test-cases
61fc1bc2edeb mptcp: use fastclose on more edge scenarios
20af637811c9 mptcp: propagate fastclose error

And the recent TCP_FASTOPEN_NO_COOKIE changes:

de98c67ae3a9 mptcp: add TCP_FASTOPEN_NO_COOKIE support
a05c21ad4572 mptcp: sockopt: make 'tcp_fastopen_connect' generic
(plus "mptcp: sockopt: use new helper for TCP_DEFER_ACCEPT" that's still 
in patchwork).


It sounds like rc8 is unlikely 
(https://lore.kernel.org/lkml/CAHk-=wjc_CDPy5WbN=e_FtPrd0Yn2Wp4JcdRByeyDoM9azK1mA@mail.gmail.com/) 
but I can revisit next week if there isn't a final 6.0 on Sunday.

Thanks,

--
Mat Martineau
Intel

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

* Re: MPTCP upstreaming, week of 26-Sept-2022
  2022-09-29 22:54     ` Mat Martineau
@ 2022-09-30 14:13       ` Matthieu Baerts
  0 siblings, 0 replies; 5+ messages in thread
From: Matthieu Baerts @ 2022-09-30 14:13 UTC (permalink / raw)
  To: Mat Martineau, Paolo Abeni; +Cc: mptcp

Hi Mat, Paolo,

On 30/09/2022 00:54, Mat Martineau wrote:
> On Tue, 27 Sep 2022, Paolo Abeni wrote:
> 
>> On Tue, 2022-09-27 at 10:07 +0200, Matthieu Baerts wrote:
>>> Hi Mat, Paolo,
>>>
>>> On 27/09/2022 02:10, Mat Martineau wrote:
>>>>
>>>>     - Features for net-next:
>>>>
>>>>         - [ef4a93571133] mptcp: propagate fastclose error (Paolo Abeni)
>>>>         - [885cab8b5203] mptcp: use fastclose on more edge scenarios
>>>> (Paolo Abeni)
>>>>         - [13c82c8b0d9f] selftests: mptcp: update and extend fastclose
>>>> test-cases (Paolo Abeni):
>>>>             - can wait a bit, Paolo would like to have a look at the
>>>> modification on packetdrill side
>>>>
>>>>
>>>> The net-next patches are slightly more complicated:
>>>>
>>>>  * They were updated with a squash-to patch today
>>>>  * Need to wait until fastopen patches are merged
>>>
>>> We should at least wait for the fastopen patches to be applied I
>>> suppose.
>>>
>>>>  * There is a minor conflict with the -net patches (just diff context)
>>>>    in "mptcp: use fastclose on more edge scenarios".
>>>>
>>>>
>>>> Regarding the conflict, I could wait until Friday for a likely
>>>> net/net-next sync.
>>>>
>>>> Another option is to modify the patch slightly by moving
>>>> mptcp_check_readable() before __mptcp_check_send_data_fin(), it doesn't
>>>> make the diff any larger and avoids the -net conflict. What do you
>>>> think?
>>>
>>> We can also add a note in the commit and explain how to fix this
>>> conflict. I think the function is at the right place but it can also be
>>> moved if it eases stuff.
>>
>>
>> I think there is no rush for that patches. If the net patches will land
>> upstream soon, they will be likely merged by EoW. If there will be
>> another RC, we can rebase the net-next and send out still for 6.1,
>> othewise the fastclose patches can wait IMHO a few more weeks.
>>
> 
> Thanks Paolo.
> 
> With the net and net-next patches for MPTCP just merged today, and the
> backlog in netdev patchwork, I'll wait on the fastclose changes:
> 
> ee1e43f10dc5 mptcp: update misleading comments.
> d1c02fee7732 selftests: mptcp: update and extend fastclose test-cases
> 61fc1bc2edeb mptcp: use fastclose on more edge scenarios
> 20af637811c9 mptcp: propagate fastclose error

Just in case you still see an opportunity to have this in the next 6.1,
that would be great to have it.
I say that because it is looking like a fix -- we were hesitating
between net and net-next -- and it seems needed for some use-cases to
mimic TCP + also it is only affecting MPTCP :)

But if it is too late, I understand :)

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

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

end of thread, other threads:[~2022-09-30 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27  0:10 MPTCP upstreaming, week of 26-Sept-2022 Mat Martineau
2022-09-27  8:07 ` Matthieu Baerts
2022-09-27 14:11   ` Paolo Abeni
2022-09-29 22:54     ` Mat Martineau
2022-09-30 14:13       ` Matthieu Baerts

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.