8000 Check if a vxlan vport netdev is UP after its creation by brb · Pull Request #2474 · weaveworks/weave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Check if a vxlan vport netdev is UP after its creation #2474

Merged
merged 1 commit into from
Aug 10, 2016

Conversation

brb
Copy link
Contributor
@brb brb commented Aug 10, 2016

Tested on 4.6.

Fixes #2375

This bypasses a kernel bug when the creation of vxlan vport
completes successfully regardless whether an vxlan UDP port has been
bind (http://marc.info/?l=linux-netdev&m=147075637009483&w=2).
@brb brb added this to the 1.6.1 milestone Aug 10, 2016
// to bypass the kernel bug which makes the vxlan creation to complete
// successfully regardless whether there were any errors when binding
// to the given UDP port.
if link, err := netlink.LinkByName(name); err == nil {

This comment was marked as abuse.

This comment was marked as abuse.

@awh awh assigned brb Aug 10, 2016
@brb brb assigned brb and awh and unassigned brb Aug 10, 2016
@awh awh merged commit 432e10e into 1.6 Aug 10, 2016
@awh awh deleted the issues/2375-check-vxlan-udp-port branch August 10, 2016 13:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0