Skip to content

Conversation

borkmann
Copy link
Member

See commit msg.

@borkmann borkmann added pending-review area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact. labels Apr 29, 2020
@borkmann borkmann requested review from gandro, brb and a team April 29, 2020 00:20
@borkmann
Copy link
Member Author

test-me-please

Bail out right away when we're not in host netns and if not the
case only /then/ do the proper bind checks for potential rejection.

Fixes: d7bf451 ("bpf: fix init namespace handling in sock lb programs")
Reported-by: Rene Zbinden <rene.zbinden@postfinance.ch>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
@borkmann borkmann force-pushed the pr/bpf-host-lb-bind-fix branch from 8cd35ee to 63b1ea3 Compare April 29, 2020 00:23
@borkmann
Copy link
Member Author

test-me-please

@coveralls
Copy link

coveralls commented Apr 29, 2020

Coverage Status

Coverage increased (+0.02%) to 44.665% when pulling 63b1ea3 on pr/bpf-host-lb-bind-fix into c0ef36f on master.

Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@borkmann borkmann merged commit 248d689 into master Apr 29, 2020
@borkmann borkmann deleted the pr/bpf-host-lb-bind-fix branch April 29, 2020 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants