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
[17.09] Overlay fix for transient IP reuse #2016
Merged
fcrisciani
merged 7 commits into
moby:bump_17.09
from
thaJeztah:17.09-backport-overlay-setmatrix
Nov 20, 2017
Merged
[17.09] Overlay fix for transient IP reuse #2016
fcrisciani
merged 7 commits into
moby:bump_17.09
from
thaJeztah:17.09-backport-overlay-setmatrix
Nov 20, 2017
Commits on Nov 20, 2017
-
all: Avoid trivial uses of Sprintf
Use the string concatenation operator instead of using Sprintf for simple string concatenation. This is usually easier to read, and allows the compiler to detect problems with the type or number of operands, which would be runtime errors with Sprintf. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> (cherry picked from commit dbd2925) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for 67ea5ce - Browse repository at this point
Copy the full SHA 67ea5ceView commit details -
In case of IP reuse locally there was a race condition that was leaving the overlay namespace with wrong configuration causing connectivity issues. This commit introduces the use of setMatrix to handle the transient state and make sure that the proper configuration is maintained Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit 49200cb) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for 4601852 - Browse repository at this point
Copy the full SHA 4601852View commit details -
flush peerdb entries on network delete
peerDB was never being flushed on network delete leaveing behind stale entries Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit 2ec096a) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for cdd8d7d - Browse repository at this point
Copy the full SHA cdd8d7dView commit details -
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit 097b363) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for b0c3fe6 - Browse repository at this point
Copy the full SHA b0c3fe6View commit details -
Addressing code review comments
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit b12d63c) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for 52b263e - Browse repository at this point
Copy the full SHA 52b263eView commit details -
Avoid error logs in case of local peer case, there is no need for deleteNeighbor Avoid the network leave to readvertise already deleted entries to upper layer Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit d93b9b0) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for 79f0e46 - Browse repository at this point
Copy the full SHA 79f0e46View commit details -
Fix marshalling and add test Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit c32647e) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Configuration menu - View commit details
-
Copy full SHA for de2bf60 - Browse repository at this point
Copy the full SHA de2bf60View commit details
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.