Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Opt out TCP sockmap bypass by default #518

Merged
merged 2 commits into from
May 20, 2024
Merged

Conversation

jschwinger233
Copy link
Member

Once the kernel issue1 is fixed and backported to TLS, I'll open another pull request as a follow-up to automatically enable this option if kernel has the patches.

Background

A kernel issue (confirmed by community) breaks TCP clients (e.g. glider) who use splice syscall when enabling bpf sockmap redirect. This PR opts out that performance optimization until kernel bug is fixed.

Checklist

Full Changelogs

  • [Implement ...]

Issue Reference

Closes #[issue number]

Test Result

Once the kernel issue[1] is fixed and backported to TLS, I'll open another
pull request as a follow-up to automatically enable this option if
kernel has the patches.

[1]: https://github.com/jschwinger233/bpf_msg_redirect_bug_reproducer

Signed-off-by: gray <gray.liang@isovalent.com>
@sumire88
Copy link
Contributor

Thanks for raising this. Is there any correlation between #505 and this PR?

@jschwinger233 jschwinger233 added the documentation Improvements or additions to documentation label May 17, 2024
@jschwinger233
Copy link
Member Author

Thanks for raising this. Is there any correlation between #505 and this PR?

Most likely not. This feature only affects local TCP, shouldn't have something to do with WAN UDP.

@jschwinger233 jschwinger233 marked this pull request as ready for review May 17, 2024 07:07
@jschwinger233 jschwinger233 requested review from a team as code owners May 17, 2024 07:07
Copy link
Contributor

@dae-prow dae-prow bot left a comment

Choose a reason for hiding this comment

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

🧪 Since the PR has been fully tested, please consider merging it.

@sumire88 sumire88 merged commit ec7cf06 into main May 20, 2024
10 of 12 checks passed
@sumire88 sumire88 deleted the gray/hide-sockmap branch May 20, 2024 13:03
@dae-prow dae-prow bot mentioned this pull request Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation fix tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants