Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232855
b: refs/heads/master
c: bf36076
h: refs/heads/master
i:
  232853: e8c4113
  232851: ca1b61a
  232847: 29b29a3
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Feb 1, 2011
1 parent 46352f0 commit 1805dc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 785e8cc39baf31d5c18a2d198ded03a003c9c190
refs/heads/master: bf36076a67db6d7423d09d861a072337866f0dd9
9 changes: 8 additions & 1 deletion trunk/net/ipv6/sysctl_net_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <net/addrconf.h>
#include <net/inet_frag.h>

static struct ctl_table empty[1];

static ctl_table ipv6_table_template[] = {
{
.procname = "route",
Expand All @@ -35,6 +37,12 @@ static ctl_table ipv6_table_template[] = {
.mode = 0644,
.proc_handler = proc_dointvec
},
{
.procname = "neigh",
.maxlen = 0,
.mode = 0555,
.child = empty,
},
{ }
};

Expand Down Expand Up @@ -152,7 +160,6 @@ static struct ctl_table_header *ip6_base;

int ipv6_static_sysctl_register(void)
{
static struct ctl_table empty[1];
ip6_base = register_sysctl_paths(net_ipv6_ctl_path, empty);
if (ip6_base == NULL)
return -ENOMEM;
Expand Down

0 comments on commit 1805dc2

Please sign in to comment.