projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bb306
)
[NET] net/core: Fix error handling
author
Josef 'Jeff' Sipek
<jsipek@cs.sunysb.edu>
Mon, 7 May 2007 07:33:18 +0000
(
00:33
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 7 May 2007 07:33:18 +0000
(
00:33
-0700)
Upon failure to register "ptype" procfs entry, "softnet_stat" was not
removed, and an incorrect attempt was made to remove the "ptype" entry.
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index f27d4ab181e6db79124f4eb33ff466a9d9686d63..4317c1be4d3ff658fa8f8eec221aa8b96f247aaf 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2377,9
+2377,9
@@
static int __init dev_proc_init(void)
out:
return rc;
out_softnet:
- proc_net_remove("softnet_stat");
-out_dev2:
proc_net_remove("ptype");
+out_dev2:
+ proc_net_remove("softnet_stat");
out_dev:
proc_net_remove("dev");
goto out;