projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e5b3a
)
Free ofX network device when we're done with it.
author
Ben Pfaff
<blp@nicira.com>
Mon, 2 Jun 2008 17:14:02 +0000
(10:14 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 3 Jun 2008 03:18:38 +0000
(20:18 -0700)
datapath/dp_dev.c
patch
|
blob
|
history
diff --git
a/datapath/dp_dev.c
b/datapath/dp_dev.c
index 4047e926794b7f5d68305d67e5f0821487375e2f..de72dc50a1c39ebefc1ac0db12b2869b40f35824 100644
(file)
--- a/
datapath/dp_dev.c
+++ b/
datapath/dp_dev.c
@@
-126,6
+126,7
@@
void dp_dev_destroy(struct datapath *dp)
dp_dev->dp = NULL;
synchronize_net();
unregister_netdev(dp->netdev);
+ free_netdev(dp->netdev);
}
int is_dp_dev(struct net_device *netdev)