From de403d30e413e6f132605c8c8feb97c25a95211e Mon Sep 17 00:00:00 2001 From: Motomu Utsumi Date: Thu, 28 Aug 2025 17:49:54 +0900 Subject: [PATCH] tcpAccECN: Fix to increment ceb counter Before this CL, if the ip_ecn is 0b11, program returns without updating byte_count->ceb Test: TH Bug: 440448408 Flag: EXEMPT tcpAccECN program is not used Change-Id: I37aeddcb6807c43787b4f3ca0db26f47ffe190df --- bpf/progs/tcpAccECN.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bpf/progs/tcpAccECN.c b/bpf/progs/tcpAccECN.c index 0f4e114b2d..d0cf6a8c91 100644 --- a/bpf/progs/tcpAccECN.c +++ b/bpf/progs/tcpAccECN.c @@ -311,7 +311,6 @@ DEFINE_BPF_PROG_KVER(schedcls, ingress_accecn_eth, , AID_SYSTEM, 6_1) // update the map if CE is marked if (ip_ecn == 0b11) { __sync_fetch_and_add(ce_count, ce_packets); - return TC_ACT_PIPE; } if (byte_count) { @@ -565,7 +564,6 @@ DEFINE_BPF_PROG_KVER(schedcls, ingress_accecn_rawip, , AID_SYSTEM, 6_1) // update the map if CE is marked if (ip_ecn == 0b11) { __sync_fetch_and_add(ce_count, ce_packets); - return TC_ACT_PIPE; } if (byte_count) {