Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly set the MTU on the tun0 interface
Before this, we did not set the MTU on the tun0 interface explicitly. Since that interface is of type internal it is created and managed by OVS. Because it is managed by OVS, the MTU changes when pods are added and removed from the bridge. With a pod we see the desired MTU on tun0, but when there are no pods, the MTU goes back to 1500. This is normally fine, but if there are packets above the MTU going between nodes using their SDN addresses, then those packets will get dropped when there are no pods using the SDN on one of those nodes. The change is to request the correct MTU when we add the port to OVS. Fixes bug 1564346 (https://bugzilla.redhat.com/show_bug.cgi?id=1564346)
- Loading branch information
Showing
3 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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