On 9/18/25 6:21 PM, [email protected] wrote:
> diff --git a/include/net/tcp_ecn.h b/include/net/tcp_ecn.h
> index 2256d2efa5ec..8317c3f279c9 100644
> --- a/include/net/tcp_ecn.h
> +++ b/include/net/tcp_ecn.h
> @@ -169,7 +169,10 @@ static inline void tcp_accecn_third_ack(struct sock *sk,
>       switch (ace) {
>       case 0x0:
>               /* Invalid value */
> -             tcp_accecn_fail_mode_set(tp, TCP_ACCECN_ACE_FAIL_RECV);
> +             if (!TCP_SKB_CB(skb)->sacked) {
> +                     tcp_accecn_fail_mode_set(tp, TCP_ACCECN_ACE_FAIL_RECV |
> +                                                  TCP_ACCECN_OPT_FAIL_RECV);
> +             }

Minor nit: brackets are not needed above.

/P


Reply via email to