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

google / alioth / 43396930315
44%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 08:57AM UTC
Jobs 1
Files 130
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

13 Nov 2026 08:50AM UTC coverage: 44.337% (+0.2%) from 44.177%
43396930315

push

github

Lencerf
fix(net): validate TAP MTU and make VIRTIO_NET_F_MTU optional

Net::new() unconditionally offered VIRTIO_NET_F_MTU with
TapNetSpec::mtu as config.mtu. When mtu was set below 68, the device
advertised VIRTIO_NET_F_MTU with an invalid config.mtu, violating
VirtIO 1.4 Sec 5.1.4.1 ("The device MUST set mtu to between 68 and
65535 inclusive, if it offers VIRTIO_NET_F_MTU"). Linux tolerates it
by not accepting VIRTIO_NET_F_MTU if config.mtu is below 68.

Make TapNetSpec::mtu optional on the command line, defaulting to 0.
When it is 0, set config.mtu to 0 and omit NetFeature::MTU from the
device features. Otherwise validate mtu >= 68 before opening the TAP
device and return Error::InvalidMtu if it is smaller.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>

1004 of 1788 branches covered (56.15%)

Branch coverage included in aggregate %.

28 of 35 new or added lines in 1 file covered. (80.0%)

1 existing line in 1 file now uncovered.

7139 of 16578 relevant lines covered (43.06%)

900.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
17.53
9.51% alioth/src/virtio/dev/net/tap.rs

Coverage Regressions

Lines Coverage ∆ File
1
81.34
0.12% alioth/src/virtio/dev/vsock/uds_vsock.rs
Jobs
ID Job ID Ran Files Coverage
1 43396930315.1 13 Nov 2026 08:57AM UTC 130
44.34
GitHub Action Run
Source Files on build 43396930315
  • Tree
  • List 130
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43396930315
  • aa739c3d on github
  • Prev Build on gh-readonly-queue/main/pr-557-946cf9651317b4cdf096251fd3a0baa1caa3eed3 (#43394017619)
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