diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /net/802/tr.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'net/802/tr.c')
-rw-r--r-- | net/802/tr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/802/tr.c b/net/802/tr.c index e874447ad144..1c6e596074df 100644 --- a/net/802/tr.c +++ b/net/802/tr.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <linux/seq_file.h> | 36 | #include <linux/seq_file.h> |
37 | #include <linux/init.h> | 37 | #include <linux/init.h> |
38 | #include <linux/sysctl.h> | 38 | #include <linux/sysctl.h> |
39 | #include <linux/slab.h> | ||
39 | #include <net/arp.h> | 40 | #include <net/arp.h> |
40 | #include <net/net_namespace.h> | 41 | #include <net/net_namespace.h> |
41 | 42 | ||
@@ -635,19 +636,18 @@ struct net_device *alloc_trdev(int sizeof_priv) | |||
635 | #ifdef CONFIG_SYSCTL | 636 | #ifdef CONFIG_SYSCTL |
636 | static struct ctl_table tr_table[] = { | 637 | static struct ctl_table tr_table[] = { |
637 | { | 638 | { |
638 | .ctl_name = NET_TR_RIF_TIMEOUT, | ||
639 | .procname = "rif_timeout", | 639 | .procname = "rif_timeout", |
640 | .data = &sysctl_tr_rif_timeout, | 640 | .data = &sysctl_tr_rif_timeout, |
641 | .maxlen = sizeof(int), | 641 | .maxlen = sizeof(int), |
642 | .mode = 0644, | 642 | .mode = 0644, |
643 | .proc_handler = proc_dointvec | 643 | .proc_handler = proc_dointvec |
644 | }, | 644 | }, |
645 | { 0 }, | 645 | { }, |
646 | }; | 646 | }; |
647 | 647 | ||
648 | static __initdata struct ctl_path tr_path[] = { | 648 | static __initdata struct ctl_path tr_path[] = { |
649 | { .procname = "net", .ctl_name = CTL_NET, }, | 649 | { .procname = "net", }, |
650 | { .procname = "token-ring", .ctl_name = NET_TR, }, | 650 | { .procname = "token-ring", }, |
651 | { } | 651 | { } |
652 | }; | 652 | }; |
653 | #endif | 653 | #endif |