This repository was archived by the owner on May 12, 2021. It is now read-only.
network: delete IP addrs on bridge model to prevent ARP conflict#1676
Merged
amshinde merged 1 commit intokata-containers:masterfrom May 16, 2019
Merged
network: delete IP addrs on bridge model to prevent ARP conflict#1676amshinde merged 1 commit intokata-containers:masterfrom
amshinde merged 1 commit intokata-containers:masterfrom
Conversation
Member
|
/test |
|
Restarted the containerd CI which failed with what looks like a transitory error: |
jodh-intel
approved these changes
May 15, 2019
virtcontainers/network.go
Outdated
| return nil | ||
| // Restore the IPs that were cleared | ||
| err = setIPs(link, netPair.VirtIface.Addrs) | ||
| return err |
There was a problem hiding this comment.
Nit: you could simplify this to:
return setIPs(link, netPair.VirtIface.Addrs)Fixes: kata-containers#1673 Signed-off-by: Zha Bin <zhabin@linux.alibaba.com>
68fb45c to
bdb1047
Compare
Member
|
/test |
bergwolf
approved these changes
May 16, 2019
Member
bergwolf
left a comment
There was a problem hiding this comment.
This matches what we do with tap pair. Thanks!
amshinde
approved these changes
May 16, 2019
Member
|
this is already handled for the macvtap mode, somehow we missed it in the bridge mode. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes: #1673
Signed-off-by: Zha Bin zhabin@linux.alibaba.com