hash_size is declared but never read. The MD5 path always uses a
fixed size of 16, and the TCP-AO path uses tcp_ao_maclen().
Suggested-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Keita Morisaki <redacted>
---
net/ipv4/tcp_output.c | 1 -
1 file changed, 1 deletion(-)
@@ -441,7 +441,6 @@ struct tcp_out_options {u8ws;/* window scale, 0 to disable */u8num_accecn_fields:7,/* number of AccECN fields needed */use_synack_ecn_bytes:1;/* Use synack_ecn_bytes or not */-u8hash_size;/* bytes in hash_location */__u8*hash_location;/* temporary pointer, overloaded */__u32tsval,tsecr;/* need to include OPTION_TS */structtcp_fastopen_cookie*fastopen_cookie;/* Fast open cookie */
On Wed, Mar 4, 2026 at 6:27 PM Keita Morisaki [off-list ref] wrote:
hash_size is declared but never read. The MD5 path always uses a
fixed size of 16, and the TCP-AO path uses tcp_ao_maclen().
Suggested-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Keita Morisaki <redacted>
On Wed, Mar 4, 2026 at 8:37 PM Kuniyuki Iwashima [off-list ref] wrote:
On Wed, Mar 4, 2026 at 6:27 PM Keita Morisaki [off-list ref] wrote:
quoted
hash_size is declared but never read. The MD5 path always uses a
fixed size of 16, and the TCP-AO path uses tcp_ao_maclen().
Suggested-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Keita Morisaki <redacted>