projects
/
xeon-phi-kernel-module
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5707b46
)
Updated host/linvnet.c per the changes to net_device->destructor.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Thu, 6 May 2021 00:54:13 +0000
(17:54 -0700)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Thu, 6 May 2021 00:54:13 +0000
(17:54 -0700)
See also:
- https://github.com/torvalds/linux/commit/
cf124db566e6b036b8bcbe8decbed740bdfac8c6
vnet/micveth_dma.c
patch
|
blob
|
blame
|
history
diff --git
a/vnet/micveth_dma.c
b/vnet/micveth_dma.c
index
c62675b
..
d9182f7
100644
(file)
--- 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;
/* 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;
/* Fill in device structure with ethernet-generic values. */
dev->mtu = MICVNET_MAX_MTU;