Re: [PATCH net-next v2] tcp: remove unused hash_size from struct tcp_out_options

From: Eric Dumazet

Date: Sat Mar 07 2026 - 10:29:44 EST


On Sat, Mar 7, 2026 at 6:16 AM Keita Morisaki <kmta1236@xxxxxxxxx> 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().
>
> This closes a 7-byte hole and reduces the struct size from 96 to
> 88 bytes.
>
> Suggested-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx>
> Signed-off-by: Keita Morisaki <kmta1236@xxxxxxxxx>
> Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
> ---

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>