ANDROID: preserve CRC for struct tcp_sock

In commit fe7a7b8942 ("tcp: add TCP_INFO status for failed client
TFO"), 2 unused bits in struct tcp_sock were renamed and used.  This
does not change the binary abi, but the checking tools do notice this,
so mark it as such so that the CRC generation remains the same.

Fixes: fe7a7b8942 ("tcp: add TCP_INFO status for failed client TFO")
Change-Id: I160605fb220d393c77ed4972957cbf823980694c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2024-07-19 14:59:42 +00:00
parent f90cc3d8c1
commit 33437b2981
2 changed files with 2151 additions and 2144 deletions

File diff suppressed because it is too large Load diff

View file

@ -225,7 +225,14 @@ struct tcp_sock {
fastopen_connect:1, /* FASTOPEN_CONNECT sockopt */
fastopen_no_cookie:1, /* Allow send/recv SYN+data without a cookie */
is_sack_reneg:1, /* in recovery from loss with SACK reneg? */
/* ANDROID
* CRC preservation for commit fe7a7b894273 ("tcp: add TCP_INFO status for failed client TFO")
*/
#ifndef __GENKSYMS__
fastopen_client_fail:2; /* reason why fastopen failed */
#else
unused:2;
#endif
u8 nonagle : 4,/* Disable Nagle algorithm? */
thin_lto : 1,/* Use linear timeouts for thin streams */
recvmsg_inq : 1,/* Indicate # of bytes in queue upon recvmsg */