On 4/22/25 5:35 PM, chia-yu.ch...@nokia-bell-labs.com wrote: > @@ -555,6 +556,30 @@ static void smc_check_reset_syn_req(const struct > tcp_sock *oldtp, > #endif > } > > +u8 tcp_accecn_option_init(const struct sk_buff *skb, u8 opt_offset) > +{ > + unsigned char *ptr = skb_transport_header(skb) + opt_offset; > + unsigned int optlen = ptr[1] - 2; > + > + WARN_ON_ONCE(ptr[0] != TCPOPT_ACCECN0 && ptr[0] != TCPOPT_ACCECN1);
This warn shoul be dropped, too. /P