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 <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] 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
