A pair of tweaks for issues spotted by Eric Biggers. Patch #1 is
mostly cosmetic, since the error check it adds is unreachable in
practice, and the other changes are syntactic cleanups. Patch #2
adds endian swabbing of the SipHash output for big endian systems
so that the in-memory representation is the same as on little
endian systems.

cc: Eric Biggers <ebigg...@kernel.org>
cc: linux-crypto@vger.kernel.org
cc: herb...@gondor.apana.org.au
cc: eduma...@google.com
cc: da...@davemloft.net
cc: kuz...@ms2.inr.ac.ru
cc: yoshf...@linux-ipv6.org
cc: jba...@akamai.com
cc: cpaa...@apple.com
cc: david.lai...@aculab.com
cc: ych...@google.com

Ard Biesheuvel (2):
  net: fastopen: make key handling more robust against future changes
  net: fastopen: use endianness agnostic representation of the cookie

 include/linux/tcp.h     |  2 +-
 include/net/tcp.h       |  5 +--
 net/ipv4/tcp_fastopen.c | 34 +++++++++++---------
 3 files changed, 23 insertions(+), 18 deletions(-)

-- 
2.17.1

Reply via email to