|
|
@@ -2460,6 +2460,8 @@ static void vxlan_uninit(struct net_device *dev)
|
|
|
{
|
|
|
struct vxlan_dev *vxlan = netdev_priv(dev);
|
|
|
|
|
|
+ gro_cells_destroy(&vxlan->gro_cells);
|
|
|
+
|
|
|
vxlan_fdb_delete_default(vxlan, vxlan->cfg.vni);
|
|
|
|
|
|
free_percpu(dev->tstats);
|
|
|
@@ -3526,7 +3528,6 @@ static void vxlan_dellink(struct net_device *dev, struct list_head *head)
|
|
|
|
|
|
vxlan_flush(vxlan, true);
|
|
|
|
|
|
- gro_cells_destroy(&vxlan->gro_cells);
|
|
|
list_del(&vxlan->next);
|
|
|
unregister_netdevice_queue(dev, head);
|
|
|
}
|