Thread (26 messages) 26 messages, 2 authors, 2025-09-25

Re: [PATCH v2 net-next 05/14] tcp: disable RFC3168 fallback identifier for CC modules

From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-09-23 10:08:54
Also in: bpf, linux-doc, linux-kselftest

On 9/18/25 6:21 PM, chia-yu.chang@nokia-bell-labs.com wrote:
quoted hunk ↗ jump to hunk
@@ -525,9 +527,10 @@ static inline void tcp_ecn_rcv_synack(struct sock *sk, const struct sk_buff *skb
 	}
 }
 
-static inline void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th,
+static inline void tcp_ecn_rcv_syn(struct sock *sk, const struct tcphdr *th,
 				   const struct sk_buff *skb)
 {
+	struct tcp_sock *tp = tcp_sk(sk);
Minor nit: please leave an empty line between variable declarations and
code.
 	if (tcp_ecn_mode_pending(tp)) {
 		if (!tcp_accecn_syn_requested(th)) {
 			/* Downgrade to classic ECN feedback */
/P
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help