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
This commit is contained in:
parent
4203f5008e
commit
de403d30e4
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue