All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] Re: [PATCH mptcp-next] mptcp: init autotune state also in simultaneous connect case.
@ 2020-06-30 18:44 Mat Martineau
  0 siblings, 0 replies; 3+ messages in thread
From: Mat Martineau @ 2020-06-30 18:44 UTC (permalink / raw)
  To: mptcp

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

On Tue, 30 Jun 2020, Paolo Abeni wrote:

> On Mon, 2020-06-22 at 15:57 +0200, Florian Westphal wrote:
>> This is what Christoph suggested needs to be added to avoid
>> div0 in case of simultaneous connect.
>>
>> Squashto: mptcp: add receive buffer auto-tuning
>> ---
>>  net/mptcp/subflow.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
>> index 0f0fa1ba57a8..e1e19c76e267 100644
>> --- a/net/mptcp/subflow.c
>> +++ b/net/mptcp/subflow.c
>> @@ -1120,6 +1120,7 @@ static void subflow_state_change(struct sock *sk)
>>
>>  	if (subflow_simultaneous_connect(sk)) {
>>  		mptcp_do_fallback(sk);
>> +		mptcp_rcv_space_init(mptcp_sk(parent), sk);
>>  		pr_fallback(mptcp_sk(parent));
>>  		subflow->conn_finished = 1;
>>  		if (inet_sk_state_load(parent) == TCP_SYN_SENT) {
>
> LGTM, and I think Christoph already acked it.

Yes, definitely good to squash this.

--
Mat Martineau
Intel

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

* [MPTCP] Re: [PATCH mptcp-next] mptcp: init autotune state also in simultaneous connect case.
@ 2020-07-01 11:42 Matthieu Baerts
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Baerts @ 2020-07-01 11:42 UTC (permalink / raw)
  To: mptcp

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

Hi Florian, Mat, Paolo,

On 30/06/2020 20:44, Mat Martineau wrote:
> On Tue, 30 Jun 2020, Paolo Abeni wrote:
> 
>> On Mon, 2020-06-22 at 15:57 +0200, Florian Westphal wrote:
>>> This is what Christoph suggested needs to be added to avoid
>>> div0 in case of simultaneous connect.
>>>
>>> Squashto: mptcp: add receive buffer auto-tuning
>>
>> LGTM, and I think Christoph already acked it.
> 
> Yes, definitely good to squash this.

Thank you for the patch and the review! Just applied:

- e6df694a4180: "squashed" in "mptcp: add receive buffer auto-tuning"
- 8de6e2516b12..d8ab2db3ac90: result

Tests and export will be started soon.

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

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

* [MPTCP] Re: [PATCH mptcp-next] mptcp: init autotune state also in simultaneous connect case.
@ 2020-06-30 10:54 Paolo Abeni
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Abeni @ 2020-06-30 10:54 UTC (permalink / raw)
  To: mptcp

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

On Mon, 2020-06-22 at 15:57 +0200, Florian Westphal wrote:
> This is what Christoph suggested needs to be added to avoid
> div0 in case of simultaneous connect.
> 
> Squashto: mptcp: add receive buffer auto-tuning
> ---
>  net/mptcp/subflow.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
> index 0f0fa1ba57a8..e1e19c76e267 100644
> --- a/net/mptcp/subflow.c
> +++ b/net/mptcp/subflow.c
> @@ -1120,6 +1120,7 @@ static void subflow_state_change(struct sock *sk)
>  
>  	if (subflow_simultaneous_connect(sk)) {
>  		mptcp_do_fallback(sk);
> +		mptcp_rcv_space_init(mptcp_sk(parent), sk);
>  		pr_fallback(mptcp_sk(parent));
>  		subflow->conn_finished = 1;
>  		if (inet_sk_state_load(parent) == TCP_SYN_SENT) {

LGTM, and I think Christoph already acked it.

Thanks Florian,

/P

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

end of thread, other threads:[~2020-07-01 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 18:44 [MPTCP] Re: [PATCH mptcp-next] mptcp: init autotune state also in simultaneous connect case Mat Martineau
  -- strict thread matches above, loose matches on Subject: below --
2020-07-01 11:42 Matthieu Baerts
2020-06-30 10:54 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.