projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qede: Fix incorrrect usage of APIs for un-mapping DMA memory
[cascardo/linux.git]
/
net
/
sysctl_net.c
diff --git
a/net/sysctl_net.c
b/net/sysctl_net.c
index
e0c71bd
..
9199813
100644
(file)
--- a/
net/sysctl_net.c
+++ b/
net/sysctl_net.c
@@
-27,9
+27,9
@@
#endif
static struct ctl_table_set *
#endif
static struct ctl_table_set *
-net_ctl_header_lookup(struct ctl_table_root *root
, struct nsproxy *namespaces
)
+net_ctl_header_lookup(struct ctl_table_root *root)
{
{
- return &
namespaces
->net_ns->sysctls;
+ return &
current->nsproxy
->net_ns->sysctls;
}
static int is_seen(struct ctl_table_set *set)
}
static int is_seen(struct ctl_table_set *set)