tcp: add server ip to encrypt cookie in fast open
authorYuchung Cheng <ycheng@google.com>
Thu, 8 Aug 2013 21:06:22 +0000 (14:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Aug 2013 07:35:33 +0000 (00:35 -0700)
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>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found