-
Notifications
You must be signed in to change notification settings - Fork 229
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
refactor/fix: match dscp instead of tos #294
Conversation
❌ Your branch is currently out-of-sync to main. No worry, I will fix it for you. |
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool feature!
Background
A problem was introduced in #292. This is because we added
dscp
as a member ofstruct tuples
. However,struct tuples
is used for five tuples matching. Whendscp
is added, packets with the non-zero dscp will be rejected due to matching failures. This problem impacts packets unmatched in eBPF programs.Another change is that, we should match dscp instead of tos.
See #295
Checklist
Full Changelogs
Issue Reference
Closes #[issue number]
Test Result