Roopa Prabhu <ro...@cumulusnetworks.com> writes: >> @@ -3297,9 +3298,15 @@ static int __vxlan_dev_create(struct net *net, struct >> net_device *dev, >> >> list_add(&vxlan->next, &vn->vxlan_list); >> return 0; >> + >> errout: >> + /* unregister_netdevice() destroys the default FDB entry with >> deletion >> + * notification. But the addition notification was not sent yet, so >> + * destroy the entry by hand here. >> + */ >> if (f) >> vxlan_fdb_destroy(vxlan, f, false); >> + unregister_netdevice(dev); > > if (unregister_netdev_onerr) > unregister_netdevice
All right, I'll send v3 tomorrow.