On Sat, Jun 21, 2025 at 12:38 PM <[email protected]> wrote:
>
> From: Ilpo Järvinen <[email protected]>
>
> 1) Don't early return when sack doesn't fit. AccECN code will be
>    placed after this fragment so no early returns please.
>
> 2) Make sure opts->num_sack_blocks is not left undefined. E.g.,
>    tcp_current_mss() does not memset its opts struct to zero.
>    AccECN code checks if SACK option is present and may even
>    alter it to make room for AccECN option when many SACK blocks
>    are present. Thus, num_sack_blocks needs to be always valid.
>
> Signed-off-by: Ilpo Järvinen <[email protected]>
> Signed-off-by: Chia-Yu Chang <[email protected]>

Reviewed-by: Eric Dumazet <[email protected]>

Reply via email to