[ovs-dev] [PATCH net] openvswitch: fix hangup on vxlan/gre/geneve device deletion

Pravin Shelar pshelar at nicira.com
Wed Dec 2 23:00:33 UTC 2015


On Tue, Dec 1, 2015 at 9:33 AM, Paolo Abeni <pabeni at redhat.com> wrote:
> Each openvswitch tunnel vport (vxlan,gre,geneve) holds a reference
> to the underlying tunnel device, but never released it when such
> device is deleted.
> Deleting the underlying device via the ip tool cause the kernel to
> hangup in the netdev_wait_allrefs() loop.
> This commit ensure that on device unregistration dp_detach_port_notify()
> is called for all vports that hold the device reference, properly
> releasing it.
>
> Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device")
> Fixes: b2acd1dc3949 ("openvswitch: Use regular GRE net_device instead of vport")
> Fixes: 6b001e682e90 ("openvswitch: Use Geneve device.")
> Signed-off-by: Paolo Abeni <pabeni at redhat.com>

Thanks for the fix.
Acked-by: Pravin B Shelar <pshelar at nicira.com>



More information about the dev mailing list