diff options
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
| -rw-r--r-- | drivers/net/ipvlan/ipvlan_main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c index 618ed88fad0f..7c7680c8f0e3 100644 --- a/drivers/net/ipvlan/ipvlan_main.c +++ b/drivers/net/ipvlan/ipvlan_main.c @@ -632,7 +632,7 @@ void ipvlan_link_setup(struct net_device *dev)  	dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);  	dev->priv_flags |= IFF_UNICAST_FLT | IFF_NO_QUEUE;  	dev->netdev_ops = &ipvlan_netdev_ops; -	dev->destructor = free_netdev; +	dev->needs_free_netdev = true;  	dev->header_ops = &ipvlan_header_ops;  	dev->ethtool_ops = &ipvlan_ethtool_ops;  }  | 
