projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: Move all of the network sysctls without a namespace into init_net.
[deliverable/linux.git]
/
net
/
phonet
/
sysctl.c
diff --git
a/net/phonet/sysctl.c
b/net/phonet/sysctl.c
index 8bed7675b3f49cf1176b6ec846d16165d480ec08..aa55db5f383bf6b54aaee9968960b562f35ab66b 100644
(file)
--- a/
net/phonet/sysctl.c
+++ b/
net/phonet/sysctl.c
@@
-106,11
+106,11
@@
static struct ctl_path phonet_ctl_path[] = {
int __init phonet_sysctl_init(void)
{
int __init phonet_sysctl_init(void)
{
- phonet_table_hrd = register_
sysctl_paths(
phonet_ctl_path, phonet_table);
+ phonet_table_hrd = register_
net_sysctl_table(&init_net,
phonet_ctl_path, phonet_table);
return phonet_table_hrd == NULL ? -ENOMEM : 0;
}
void phonet_sysctl_exit(void)
{
return phonet_table_hrd == NULL ? -ENOMEM : 0;
}
void phonet_sysctl_exit(void)
{
- unregister_sysctl_table(phonet_table_hrd);
+ unregister_
net_
sysctl_table(phonet_table_hrd);
}
}
This page took
0.02942 seconds
and
5
git commands to generate.