Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78335
b: refs/heads/master
c: 4d43b78
h: refs/heads/master
i:
  78333: 500eb08
  78331: 04f9698
  78327: cc9fa20
  78319: ad229f7
  78303: 2cf6fc5
  78271: eed44cd
  78207: 794646b
  78079: c5974ca
  77823: 6823498
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Jan 28, 2008
1 parent 1e547f8 commit f6319d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 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: 4a61b586cd7eaab6242eca58e8e6e3c8ebd88bd2
refs/heads/master: 4d43b78ac27ca50fe42718192ac7c80474417389
26 changes: 6 additions & 20 deletions trunk/net/ipv6/sysctl_net_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,31 +82,17 @@ static ctl_table ipv6_table[] = {
{ .ctl_name = 0 }
};

static struct ctl_table_header *ipv6_sysctl_header;

static ctl_table ipv6_net_table[] = {
{
.ctl_name = NET_IPV6,
.procname = "ipv6",
.mode = 0555,
.child = ipv6_table
},
{ .ctl_name = 0 }
static struct ctl_path ipv6_ctl_path[] = {
{ .procname = "net", .ctl_name = CTL_NET, },
{ .procname = "ipv6", .ctl_name = NET_IPV6, },
{ },
};

static ctl_table ipv6_root_table[] = {
{
.ctl_name = CTL_NET,
.procname = "net",
.mode = 0555,
.child = ipv6_net_table
},
{ .ctl_name = 0 }
};
static struct ctl_table_header *ipv6_sysctl_header;

void ipv6_sysctl_register(void)
{
ipv6_sysctl_header = register_sysctl_table(ipv6_root_table);
ipv6_sysctl_header = register_sysctl_paths(ipv6_ctl_path, ipv6_table);
}

void ipv6_sysctl_unregister(void)
Expand Down

0 comments on commit f6319d2

Please sign in to comment.