All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matthieu.baerts at tessares.net>
To: mptcp at lists.01.org
Subject: Re: [MPTCP] [PATCH 4/7] mptcp: reduce number of pr_debug() calls.
Date: Fri, 07 Jun 2019 13:23:20 +0200	[thread overview]
Message-ID: <b121b0f2-48b8-d739-09f3-d85e18bec65c@tessares.net> (raw)
In-Reply-To: 20190606003632.2863-5-peter.krystad@linux.intel.com

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

Hi Peter, Paolo,

On 06/06/2019 02:36, Peter Krystad wrote:
> squash to: Implement MPTCP receive path

Thank you for the patch and the review!

- e2fd582aa5c1: "squash" in "mptcp: Implement MPTCP receive path": I
also added a diff from the previous patch (3/7), see below
- c1873d1e4ed6: signed-off
- 5d1039667868: "squash" (part 2) in "mptcp: accept: don't leak mptcp
socket structure"
- c4df6da5e7d3: conflict
- a9c9e1105ce0: conflict
- a053cbcf3dd5: conflict
- eec1d25d9283..612e3f6c26e6: result

> Signed-off-by: Peter Krystad <peter.krystad(a)linux.intel.com>
> ---
>  net/mptcp/protocol.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c
> index 78ce42b1617a..11b6855cc9ed 100644
> --- a/net/mptcp/protocol.c
> +++ b/net/mptcp/protocol.c

I also added this block from patch 3/7:

@@ -623,7 +621,6 @@ static struct sock *mptcp_accept(struct sock *sk,
int flags, int *err,
 		msk->remote_key = subflow->remote_key;
 		msk->local_key = subflow->local_key;
 		msk->token = subflow->token;
-		pr_debug("token=%u", msk->token);
 		token_update_accept(new_sock->sk, new_mptcp_sock);
 		msk->subflow = NULL;

Cheers,
Matt

> @@ -747,7 +747,7 @@ void mptcp_finish_connect(struct sock *sk, int mp_capable)
>  		msk->remote_key = subflow->remote_key;
>  		msk->local_key = subflow->local_key;
>  		msk->token = subflow->token;
> -		pr_debug("token=%u", msk->token);
> +		pr_debug("msk=%p, token=%u", msk, msk->token);
>  
>  		crypto_key_sha1(msk->remote_key, NULL, &ack_seq);
>  		msk->write_seq = subflow->idsn + 1;
> 

-- 
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

             reply	other threads:[~2019-06-07 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07 11:23 Matthieu Baerts [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-06  0:36 [MPTCP] [PATCH 4/7] mptcp: reduce number of pr_debug() calls Peter Krystad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b121b0f2-48b8-d739-09f3-d85e18bec65c@tessares.net \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.