summaryrefslogtreecommitdiffstats
path: root/drivers/net/vsockmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vsockmon.c')
-rw-r--r--drivers/net/vsockmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vsockmon.c b/drivers/net/vsockmon.c
index 7f0136f2dd9d..c28bdce14fd5 100644
--- a/drivers/net/vsockmon.c
+++ b/drivers/net/vsockmon.c
@@ -135,7 +135,7 @@ static void vsockmon_setup(struct net_device *dev)
dev->netdev_ops = &vsockmon_ops;
dev->ethtool_ops = &vsockmon_ethtool_ops;
- dev->destructor = free_netdev;
+ dev->needs_free_netdev = true;
dev->features = NETIF_F_SG | NETIF_F_FRAGLIST |
NETIF_F_HIGHDMA | NETIF_F_LLTX;
OpenPOWER on IntegriCloud