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

cilium / cilium / 11300
39%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2019 06:37PM UTC
Jobs 1
Files 446
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

14 Oct 2019 06:18PM UTC coverage: 45.532% (-0.03%) from 45.564%
11300

push

travis-ci-com

ianvernon
datapath: Fix hairpin flow when ENABLE_ROUTING is disabled

This commit fixes hairpin flows (aka loopback svc) when ENABLE_ROUTING
is disabled.

In the latter case, a packet to self is returned to stack. If the packet
is routed back via the interface it came from (observed with aws-cni in
the CNI-chaining mode), the kernel will drop the packet.

To fix this, we allow the (skb) redirection of such flows.

We could have improved the performance by avoiding the endpoint lookup in
the BPF map for the hairpin flows, but that would require adding more
vars to lxc_config.h and also modifying ipv{4,6}_local_delivery() which
would increase the datapath code complexity (from the readability
perspective).

Signed-off-by: Martynas Pumputis <m@lambda.lt>

26085 of 57289 relevant lines covered (45.53%)

1212.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11300.1 14 Oct 2019 06:37PM UTC 0
45.53
Travis Job 11300.1
Source Files on build 11300
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #11300
  • e9da2245 on github
  • Prev Build on master (#11294)
  • Next Build on master (#11333)
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