[ovs-dev] [PATCH] tnl-ports: Open tunnel type if device name has special prefix
Ben Pfaff
blp at ovn.org
Thu Aug 3 20:15:49 UTC 2017
On Wed, Aug 02, 2017 at 02:17:29PM +0300, Roi Dayan wrote:
> From: Paul Blakey <paulb at mellanox.com>
>
> There is a race between listening on route changes from route-table
> netlink which then calls ovs_router_insert() where it adds the involved
> netdev to the tnl-ports map (tnl_port_map_insert_ipdev()),
> and netdev_open from from normal opening of the port.
>
> tnl-ports open the netdev as type system (type == NULL) when it doesn't
> exists before it is opened normally, e.g from dumping the ports
> in dpctl.
>
> This solves 'ovs-dpctl show' EExists error on vxlan ports as both
> (dpctl/tnl-ports) will open the ports as vxlan type.
>
> Signed-off-by: Paul Blakey <paulb at mellanox.com>
> Reviewed-by: Roi Dayan <roid at mellanox.com>
Applied to master, thanks!
More information about the dev
mailing list