diff options
author | Yuchung Cheng | 2018-06-27 16:04:48 -0700 |
---|---|---|
committer | David S. Miller | 2018-06-30 18:40:46 +0900 |
commit | c860e997e9170a6d68f9d1e6e2cf61f572191aaf (patch) | |
tree | 0bc15c28915912ed264f9dece32400bd116317c4 /COPYING | |
parent | 0933cc294f7a5004210c200b540d2d1c14112095 (diff) |
tcp: fix Fast Open key endianness
Fast Open key could be stored in different endian based on the CPU.
Previously hosts in different endianness in a server farm using
the same key config (sysctl value) would produce different cookies.
This patch fixes it by always storing it as little endian to keep
same API for LE hosts.
Reported-by: Daniele Iamartino <danielei@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions