mbox series

[v4,0/1] net: fastopen: follow-up tweaks for SipHash switch

Message ID 20190619214628.2960-1-ard.biesheuvel@linaro.org (mailing list archive)
Headers show
Series net: fastopen: follow-up tweaks for SipHash switch | expand

Message

Ard Biesheuvel June 19, 2019, 9:46 p.m. UTC
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(-)