X-Git-Url: http://git.subgeniuskitty.com/xeon-phi-kernel-module/.git/blobdiff_plain/5707b46f03b04855c75724f93634f20a5fac1cdd..cb91baf623dbe369dd5aebf0d3ccc6373c8e181d:/vnet/micveth_dma.c diff --git a/vnet/micveth_dma.c b/vnet/micveth_dma.c index c62675b..d9182f7 100644 --- a/vnet/micveth_dma.c +++ b/vnet/micveth_dma.c @@ -920,7 +920,8 @@ micvnet_setup(struct net_device *dev) /* Initialize the device structure. */ dev->netdev_ops = &micvnet_netdev_ops; - dev->destructor = free_netdev; + dev->priv_destructor = free_netdev; + dev->needs_free_netdev = false; /* Fill in device structure with ethernet-generic values. */ dev->mtu = MICVNET_MAX_MTU;