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

cilium / cilium / 11141
39%

Build:
DEFAULT BRANCH: master
Ran 04 Oct 2019 02:52AM UTC
Jobs 1
Files 443
Run time 34s
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

04 Oct 2019 02:32AM UTC coverage: 45.483% (-0.04%) from 45.527%
11141

push

travis-ci-com

ianvernon
bpf: Fix sockops compile on newer LLVM

Older versions of Clang/LLVM (7.0 and earlier) compile this line into a
32-bit read followed by a shift:

  r8 = *(u32 *)(r6 + 64)
  r8 >>= 16

Newer versions of Clang/LLVM will compile this instead into a single
16-bit read into an offset from the context like this:

  r8 = *(u16 *)(r6 + 66)

Unfortunately, the kernel verifier (at least as of v5.0, possibly newer)
does not currently support reads into 'struct bpf_sock_ops' at such
offsets, which leads to verifier errors when attempting to load the
program when compiled on newer compilers.

Fix it by forcing a 32-bit read and shifting it.

Signed-off-by: Joe Stringer <joe@cilium.io>

25831 of 56793 relevant lines covered (45.48%)

1195.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11141.1 04 Oct 2019 02:52AM UTC 0
45.48
Travis Job 11141.1
Source Files on build 11141
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #11141
  • ebb781e5 on github
  • Prev Build on master (#11138)
  • Next Build on master (#11145)
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