[Bug libc/34347] New: Incorrect trailing bitfield word of struct tcp_info

"adhemerval.zanella at linaro dot org via Glibc-bugs" <[email protected]> Fri, 03 Jul 2026 19:28:38 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34347

            Bug ID: 34347
           Summary: Incorrect trailing bitfield word of struct tcp_info
           Product: glibc
           Version: 2.43
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Commit 7e46c2aae47d3284d4eb0845ddcc3951e987d681 synced the accurate ECN
additions but encoded the trailing bitfield word of struct tcp_info incorrectly
as two uint16_t fields (tcpi_accecn_fail_mode and tcpi_accecn_opt_seen),
omitting tcpi_ecn_mode and tcpi_options2.  Restore
the kernel layout:

  uint32_t tcpi_ecn_mode:2,
           tcpi_accecn_opt_seen:2,
           tcpi_accecn_fail_mode:4,
           tcpi_options2:24;

-- 
You are receiving this mail because:
You are on the CC list for the bug.