summaryrefslogtreecommitdiff
path: root/datapath-windows
diff options
context:
space:
mode:
authorFlavio Leitner <fbl@redhat.com>2018-12-13 12:24:48 -0200
committerBen Pfaff <blp@ovn.org>2019-01-25 13:20:13 -0800
commit9da3207af770bd124dc2d8aea2249d593353feaa (patch)
treee3d015fc05a03b2f7b073e07dcae6f74636604af /datapath-windows
parentd605d6db6a461f3303ac315adb63c0618735997b (diff)
downloadopenvswitch-9da3207af770bd124dc2d8aea2249d593353feaa.tar.gz
Revert "ofproto-dpif: Let the dpif report when a port is a duplicate."
This reverts commit 7521e0cf9e88a62f2feff4e7253654557f94877e. This patch introduced a regression in OSP environments using internal ports in other netns. Their networking configuration is lost when the service is restarted because the ports are recreated now. Before the patch it checked using netlink if the port with a specific "name" was already there. The check is a lookup in all ports attached to the DP regardless of the port's netns. After the patch it relies on the kernel to identify that situation. Unfortunately the only protection there is register_netdevice() which fails only if the port with that name exists in the current netns. If the port is in another netns, it will get a new dp_port and because of that userspace will delete the old port. At this point the original port is gone from the other netns and there a fresh port in the current netns. Signed-off-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath-windows')
0 files changed, 0 insertions, 0 deletions