bugfix: parse ipv4 src/dst error#1015
Merged
aboch merged 1 commit intovishvananda:mainfrom May 9, 2025
Merged
Conversation
b7a442d to
1a940e7
Compare
Contributor
Author
|
I just remove the unit test, because I found that parsing the pedit action is not supported now. so when I get filter and action from Lines 800 to 820 in b1ce50c |
Contributor
Author
|
cc @aboch @chent1996 |
aboch
reviewed
Sep 8, 2024
c0d89e6 to
00ae87d
Compare
aboch
reviewed
Sep 9, 2024
55ec793 to
baea00e
Compare
baea00e to
dbe3452
Compare
Collaborator
|
Thank you @Charlie17Li . |
Collaborator
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduction
When I use tc-pedit module to modify the src_ipv4/dst_ipv4, I check the result but the src_ipv4/dst_ipv4 is always "0".
For example, I want to set the dst_ipv4 to “172.17.0.2”, and I check the result with
tc filter show dev eth0:but the result is expeted to this: