X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Fsysctl_net.c;h=919981324171bd2028ed3a8662d16bf77f520c1a;hb=5712bf9c5c30ade3204016147d7b04bece6952d9;hp=e0c71bd8f7cfaac04150fbc449062f9452ddb2ce;hpb=5691f0e9a3e7855832d5fd094801bf600347c2d0;p=cascardo%2Flinux.git diff --git a/net/sysctl_net.c b/net/sysctl_net.c index e0c71bd8f7cf..919981324171 100644 --- a/net/sysctl_net.c +++ b/net/sysctl_net.c @@ -27,9 +27,9 @@ #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 ¤t->nsproxy->net_ns->sysctls; } static int is_seen(struct ctl_table_set *set)