Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Yuchung Cheng <ycheng@google.com>
Cc: davem@davemloft.net, ncardwell@google.com, edumazet@google.com,
	netdev@vger.kernel.org
Subject: Re: [PATCH] tcp: add server ip to encrypt cookie in fast open
Date: Thu, 08 Aug 2013 14:52:43 -0700	[thread overview]
Message-ID: <1375998763.4004.132.camel@edumazet-glaptop> (raw)
In-Reply-To: <1375995982-17862-1-git-send-email-ycheng@google.com>

On Thu, 2013-08-08 at 14:06 -0700, Yuchung Cheng wrote:
> Encrypt the cookie with both server and client IPv4 addresses,
> such that multi-homed server will grant different cookies
> based on both the source and destination IPs. No client change
> is needed since cookie is opaque to the client.
> 
> Signed-off-by: Yuchung Cheng <ycheng@google.com>
> ---
>  include/net/tcp.h       |  3 ++-
>  net/ipv4/tcp_fastopen.c | 13 ++++++-------
>  net/ipv4/tcp_ipv4.c     | 10 +++++++---
>  3 files changed, 15 insertions(+), 11 deletions(-)

Reviewed-by: Eric Dumazet <edumazet@google.com>

I presume this is net-next material ?

  reply	other threads:[~2013-08-08 21:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 21:06 [PATCH] tcp: add server ip to encrypt cookie in fast open Yuchung Cheng
2013-08-08 21:52 ` Eric Dumazet [this message]
2013-08-08 22:30   ` Yuchung Cheng
2013-08-09  0:48 ` Neal Cardwell
2013-08-10  7:45   ` David Miller

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=1375998763.4004.132.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=ycheng@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox