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 SetInterfaceMTU not working on Windows bug #3043
Conversation
For Windows, antrea-gw0 interface must be enabled before MTU is set, so MTU is not configured with current code. Currently the result of SetInterfaceMTU is not checked, so the error is not found. Signed-off-by: Zhecheng Li <lzhecheng@vmware.com>
|
/test-all /test-windows-all |
Codecov Report
@@ Coverage Diff @@
## main #3043 +/- ##
==========================================
+ Coverage 60.61% 61.03% +0.41%
==========================================
Files 292 292
Lines 24708 24722 +14
==========================================
+ Hits 14976 15088 +112
+ Misses 8092 7994 -98
Partials 1640 1640
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
LGTM, was there any issue caused by it?
I don't think currently there's any antrea issue on it. |
In encap mode, when we access a Pod running on Node B from Node A, wouldn't the packet in maximum size be dropped because the encapsulated packet exceeds MTU? |
|
/test-integration |
To be clear, before I meant that there's no opening Github issue in Antrea repo about this problem. So I didn't link this PR to anything. Yes, use UDP protocol and there will be drop. |
|
/test-e2e |
|
@lzhecheng You might have noticed that the commit messages and PR descriptions appears in weird format when you cherry-pick PRs. I guess you committed the changes on Windows platform and line endings are handled differently. You can find that the commit message of your PRs don't have newlines: Please try to set |
For Windows, antrea-gw0 interface must be enabled before
MTU is set, so MTU is not configured with current code.
Currently the result of SetInterfaceMTU is not checked, so
the error is not found.
Signed-off-by: Zhecheng Li lzhecheng@vmware.com