aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index dee0d5fb39c5..efc383c58f1e 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -28,6 +28,7 @@
28#include <linux/list.h> 28#include <linux/list.h>
29#include <linux/hrtimer.h> 29#include <linux/hrtimer.h>
30 30
31#include <net/net_namespace.h>
31#include <net/netlink.h> 32#include <net/netlink.h>
32#include <net/pkt_sched.h> 33#include <net/pkt_sched.h>
33 34
@@ -1251,7 +1252,7 @@ static int __init pktsched_init(void)
1251{ 1252{
1252 register_qdisc(&pfifo_qdisc_ops); 1253 register_qdisc(&pfifo_qdisc_ops);
1253 register_qdisc(&bfifo_qdisc_ops); 1254 register_qdisc(&bfifo_qdisc_ops);
1254 proc_net_fops_create("psched", 0, &psched_fops); 1255 proc_net_fops_create(&init_net, "psched", 0, &psched_fops);
1255 1256
1256 rtnl_register(PF_UNSPEC, RTM_NEWQDISC, tc_modify_qdisc, NULL); 1257 rtnl_register(PF_UNSPEC, RTM_NEWQDISC, tc_modify_qdisc, NULL);
1257 rtnl_register(PF_UNSPEC, RTM_DELQDISC, tc_get_qdisc, NULL); 1258 rtnl_register(PF_UNSPEC, RTM_DELQDISC, tc_get_qdisc, NULL);