diff options
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index c23019a3b264..9ea0e71f5c6a 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h | |||
@@ -58,12 +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 */ |
60 | struct tcp_fastopen_cookie { | 60 | struct tcp_fastopen_cookie { |
61 | union { | 61 | u64 val[TCP_FASTOPEN_COOKIE_MAX / sizeof(u64)]; |
62 | u8 val[TCP_FASTOPEN_COOKIE_MAX]; | ||
63 | #if IS_ENABLED(CONFIG_IPV6) | ||
64 | struct in6_addr addr; | ||
65 | #endif | ||
66 | }; | ||
67 | s8 len; | 62 | s8 len; |
68 | bool exp; /* In RFC6994 experimental option format */ | 63 | bool exp; /* In RFC6994 experimental option format */ |
69 | }; | 64 | }; |