bpf/progs/tcpAccECN.c: use static const for another local constant

Likely not needed for kernel verifier happiness,
since even 1 'static' constant prevents .rodata from being
entirely empty/automatic and thus BTF-less.

Trivial follow up to go/ag/35341088

Bug: 441356399
Bug: 441436401
Test: TreeHugger
Flag: EXEMPT mainline/bug fix
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I396d1a4f2d47225707348f7c7dc3548cbba125a0
This commit is contained in:
Maciej Żenczykowski 2025-08-27 22:51:06 -07:00
commit 4203f5008e

View file

@ -530,7 +530,7 @@ DEFINE_BPF_PROG_KVER(schedcls, ingress_accecn_rawip, , AID_SYSTEM, 6_1)
if (!byte_count) {
int is_accecn = find_accecn_options_offset(skb, hdr_len);
if (is_accecn != -1) {
EcnByteCounters new_cnt = {
static const EcnByteCounters new_cnt = {
.ceb = 0,
.e0b = 1,
.e1b = 1,