summaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 2689b0b0b68a..f3a85a7fb4b1 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -58,7 +58,7 @@ static inline unsigned int tcp_optlen(const struct sk_buff *skb)
58 58
59/* TCP Fast Open Cookie as stored in memory */ 59/* TCP Fast Open Cookie as stored in memory */
60struct tcp_fastopen_cookie { 60struct tcp_fastopen_cookie {
61 u64 val[TCP_FASTOPEN_COOKIE_MAX / sizeof(u64)]; 61 __le64 val[DIV_ROUND_UP(TCP_FASTOPEN_COOKIE_MAX, sizeof(u64))];
62 s8 len; 62 s8 len;
63 bool exp; /* In RFC6994 experimental option format */ 63 bool exp; /* In RFC6994 experimental option format */
64}; 64};