git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
can: dev: Move device back to init netns on owning netns delete
[sfrench/cifs-2.6.git]
/
net
/
core
/
dev.c
diff --git
a/net/core/dev.c
b/net/core/dev.c
index 6c5967e801328a00ffb434a430a865ddcf8c02db..a142a207fc1d5663f9a75094d328a1db3c1b25c9 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-11346,7
+11346,7
@@
static void __net_exit default_device_exit(struct net *net)
continue;
/* Leave virtual devices for the generic cleanup */
- if (dev->rtnl_link_ops)
+ if (dev->rtnl_link_ops
&& !dev->rtnl_link_ops->netns_refund
)
continue;
/* Push remaining network devices to init_net */