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

kubeovn / kube-ovn / 23479304925
27%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2026 08:08AM UTC
Jobs 1
Files 205
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

24 Mar 2026 08:07AM UTC coverage: 23.818% (-0.001%) from 23.819%
23479304925

push

github

web-flow
perf(daemon): avoid full netlink dump in getIfaceByIP (#6513)

* perf(daemon): replace LinkList+AddrList loop with single AddrList dump in getIfaceByIP

Replace the N+1 netlink dump pattern (LinkList + per-link AddrList) with
a single AddrList(nil, FAMILY_ALL) dump followed by a targeted
LinkByIndex lookup. This reduces netlink dump operations from N+1 to 2,
lowering the risk of NLM_F_DUMP_INTR errors on busy nodes.

Also replaces string-based IP comparison with net.IP.Equal() to avoid
redundant parsing and allocation.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* fix(daemon): validate IP before netlink dump in getIfaceByIP

Add early validation of the IP address parameter to return a clear
error for invalid input instead of a misleading "interface not found"
message.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

---------

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 12 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

13138 of 55159 relevant lines covered (23.82%)

0.28 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
0.0
0.0% pkg/daemon/config_linux.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% pkg/daemon/config_linux.go
Jobs
ID Job ID Ran Files Coverage
1 23479304925.1 24 Mar 2026 08:08AM UTC 205
23.82
GitHub Action Run
Source Files on build 23479304925
  • Tree
  • List 205
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8957bac6 on github
  • Prev Build on master (#23467824251)
  • Next Build on master (#23479723791)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc