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 VXLAN race condition #2260

Merged

Conversation

caseydavenport
Copy link
Member

@caseydavenport caseydavenport commented Apr 16, 2020

Description

Fixes a race in VXLAN resolver where we don't get cross subnet routes.

Already fixed in master due to a refactoring of the route resolution code by @fasaxc .

This is a small patch to earlier releases to fix the same issue.

projectcalico/calico#3231

Todos

  • Unit tests (full coverage)
  • Integration tests (delete as appropriate) In plan/Not needed/Done
  • Documentation
  • Backport
  • Release note

Release Note

Fix race condition in VXLAN CrossSubnet code, issue https://github.com/projectcalico/calico/issues/3231

@@ -60,9 +60,8 @@ func init() {

// Constants that are shared with the UT binaries that we build.
const (
natTunnelMTU = uint16(700)
ethernetHeaderSize = 14
Copy link
Member Author

Choose a reason for hiding this comment

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

Static checks complained about this const being unused.

/shrug

@caseydavenport caseydavenport merged commit 194a04f into projectcalico:release-v3.13 Apr 16, 2020
@caseydavenport caseydavenport deleted the casey-vxlan branch April 16, 2020 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants