]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PKT_SCHED]: Prefix tc actions with act_
authorPatrick McHardy <kaber@trash.net>
Mon, 9 Jan 2006 06:22:14 +0000 (22:22 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:16:14 +0000 (14:16 -0800)
Clean up the net/sched directory a bit by prefix all actions with act_.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/Makefile
net/sched/act_api.c
net/sched/act_gact.c [moved from net/sched/gact.c with 100% similarity]
net/sched/act_ipt.c [moved from net/sched/ipt.c with 100% similarity]
net/sched/act_mirred.c [moved from net/sched/mirred.c with 100% similarity]
net/sched/act_pedit.c [moved from net/sched/pedit.c with 100% similarity]
net/sched/act_police.c [moved from net/sched/police.c with 100% similarity]
net/sched/act_simple.c [moved from net/sched/simple.c with 100% similarity]

index e48d0d456b3ebfe0727eca1f116b9f2d1160ec33..0f06aec66094010d165925e0d26d945a29c94c1b 100644 (file)
@@ -7,13 +7,13 @@ obj-y := sch_generic.o
 obj-$(CONFIG_NET_SCHED)                += sch_api.o sch_fifo.o sch_blackhole.o
 obj-$(CONFIG_NET_CLS)          += cls_api.o
 obj-$(CONFIG_NET_CLS_ACT)      += act_api.o
-obj-$(CONFIG_NET_ACT_POLICE)   += police.o
-obj-$(CONFIG_NET_CLS_POLICE)   += police.o
-obj-$(CONFIG_NET_ACT_GACT)     += gact.o
-obj-$(CONFIG_NET_ACT_MIRRED)   += mirred.o
-obj-$(CONFIG_NET_ACT_IPT)      += ipt.o
-obj-$(CONFIG_NET_ACT_PEDIT)    += pedit.o
-obj-$(CONFIG_NET_ACT_SIMP)     += simple.o
+obj-$(CONFIG_NET_ACT_POLICE)   += act_police.o
+obj-$(CONFIG_NET_CLS_POLICE)   += act_police.o
+obj-$(CONFIG_NET_ACT_GACT)     += act_gact.o
+obj-$(CONFIG_NET_ACT_MIRRED)   += act_mirred.o
+obj-$(CONFIG_NET_ACT_IPT)      += act_ipt.o
+obj-$(CONFIG_NET_ACT_PEDIT)    += act_pedit.o
+obj-$(CONFIG_NET_ACT_SIMP)     += act_simple.o
 obj-$(CONFIG_NET_SCH_CBQ)      += sch_cbq.o
 obj-$(CONFIG_NET_SCH_HTB)      += sch_htb.o
 obj-$(CONFIG_NET_SCH_HPFQ)     += sch_hpfq.o
index bd651a40881710b4ea4ef50eb06fd41a5d017630..792ce59940ecbeaadc806b97f13cb6a1b2a811a3 100644 (file)
@@ -290,7 +290,7 @@ struct tc_action *tcf_action_init_1(struct rtattr *rta, struct rtattr *est,
        if (a_o == NULL) {
 #ifdef CONFIG_KMOD
                rtnl_unlock();
-               request_module(act_name);
+               request_module("act_%s", act_name);
                rtnl_lock();
 
                a_o = tc_lookup_action_n(act_name);
similarity index 100%
rename from net/sched/gact.c
rename to net/sched/act_gact.c
similarity index 100%
rename from net/sched/ipt.c
rename to net/sched/act_ipt.c
similarity index 100%
rename from net/sched/mirred.c
rename to net/sched/act_mirred.c
similarity index 100%
rename from net/sched/pedit.c
rename to net/sched/act_pedit.c
similarity index 100%
rename from net/sched/police.c
rename to net/sched/act_police.c
similarity index 100%
rename from net/sched/simple.c
rename to net/sched/act_simple.c