netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/1] net: fastopen: follow-up tweaks for SipHash switch
@ 2019-06-19 21:46 Ard Biesheuvel
  2019-06-19 21:46 ` [PATCH v4 1/1] net: fastopen: robustness and endianness fixes for SipHash Ard Biesheuvel
  0 siblings, 1 reply; 3+ messages in thread
From: Ard Biesheuvel @ 2019-06-19 21:46 UTC (permalink / raw)
  To: netdev
  Cc: Ard Biesheuvel, Eric Biggers, linux-crypto, herbert, edumazet,
	davem, kuznet, yoshfuji, jbaron, cpaasch, David.Laight, ycheng

Some fixes for the fastopen code after switching to SipHash, which were
spotted in review after the change had already been queued.

Changes since v3:
- switch from compount literals to individual assignments of the siphash
  key fields

Changes since v2:
- add missing pairs of braces in compound literals used to assign the
  fastopen keys

cc: Eric Biggers <ebiggers@kernel.org>
cc: linux-crypto@vger.kernel.org
cc: herbert@gondor.apana.org.au
cc: edumazet@google.com
cc: davem@davemloft.net
cc: kuznet@ms2.inr.ac.ru
cc: yoshfuji@linux-ipv6.org
cc: jbaron@akamai.com
cc: cpaasch@apple.com
cc: David.Laight@aculab.com
cc: ycheng@google.com

Ard Biesheuvel (1):
  net: fastopen: robustness and endianness fixes for SipHash

 include/linux/tcp.h        |  2 +-
 include/net/tcp.h          |  8 ++---
 net/ipv4/sysctl_net_ipv4.c |  3 +-
 net/ipv4/tcp.c             |  3 +-
 net/ipv4/tcp_fastopen.c    | 35 ++++++++++----------
 5 files changed, 24 insertions(+), 27 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-06-22 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-19 21:46 [PATCH v4 0/1] net: fastopen: follow-up tweaks for SipHash switch Ard Biesheuvel
2019-06-19 21:46 ` [PATCH v4 1/1] net: fastopen: robustness and endianness fixes for SipHash Ard Biesheuvel
2019-06-22 23:30   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).