[PATCH 0/2] net: fastopen: follow-up tweaks for SipHash switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ebiggers@xxxxxxxxxx>
cc: linux-crypto@xxxxxxxxxxxxxxx
cc: herbert@xxxxxxxxxxxxxxxxxxx
cc: edumazet@xxxxxxxxxx
cc: davem@xxxxxxxxxxxxx
cc: kuznet@xxxxxxxxxxxxx
cc: yoshfuji@xxxxxxxxxxxxxx
cc: jbaron@xxxxxxxxxx
cc: cpaasch@xxxxxxxxx
cc: David.Laight@xxxxxxxxxx
cc: ycheng@xxxxxxxxxx

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




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux