• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openconfig / kne / 36185182373
47%
main: 47%

Build:
Build:
LAST BUILD BRANCH: play-nice
DEFAULT BRANCH: main
Ran 25 Sep 2026 08:21PM UTC
Jobs 1
Files 65
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Sep 2026 08:17PM UTC coverage: 47.59% (+0.3%) from 47.256%
36185182373

Pull #774

github

kraney
Packet bridge captures packets with incorrect checksums

This is due to hardware offloads - packets do not have correct checksums
with the expectation the hardware will fill it in.

(Note this problem is already solved within meshnet; following that
example.)

1. Disable Hardware Offloads via ethtool:
   When NewSocketHandler opens an interface, it uses github.com/safchain/ethtool
   (matching meshnet's approach) to disable active TX checksum and segmentation
   offloads as well as RX GRO/LRO/checksum offloads so the Linux kernel veth
   driver does not coalesce incoming segments or leave local frames with
   partial checksums.

2. Finalize Partial Checksums via PACKET_AUXDATA:
   Enabled PACKET_AUXDATA on the raw AF_PACKET socket and updated ReadPacket to
   inspect TP_STATUS_CSUMNOTREADY (skb->ip_summed == CHECKSUM_PARTIAL). If a
   frame arrives from a peer veth in another container namespace where TX
   checksum offload was still enabled, finalizePartialChecksum computes the
   missing L4 (TCP/UDP/ICMPv6) checksum in software before forwarding.

3. Unit Tests:
   Added unit tests covering offload disabling, PACKET_AUXDATA parsing, and
   IPv4/IPv6/VLAN partial checksum finalization.
Pull Request #774: Packet bridge captures packets with incorrect checksums

124 of 161 new or added lines in 1 file covered. (77.02%)

2 existing lines in 1 file now uncovered.

6961 of 14627 relevant lines covered (47.59%)

0.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
65.83
5.43% bridge/bridge.go

Coverage Regressions

Lines Coverage ∆ File
2
65.83
5.43% bridge/bridge.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/188535925 36185182373.1 25 Sep 2026 08:21PM UTC 65
47.59
GitHub Action Run
Source Files on build 36185182373
  • Tree
  • List 65
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #774
  • PR Base - main (#36068796611)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc