summaryrefslogtreecommitdiffstats
path: root/include/net/pkt_sched.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-07-05 23:25:42 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-06 02:52:16 -0700
commitdc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch)
treec346ae8a155e187f4f88ba70788dc10ef5ff4c43 /include/net/pkt_sched.h
parent95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6 (diff)
downloadlinux-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.tar.gz
linux-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.tar.bz2
linux-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.zip
net: sched: constify tcf_proto and tc_action
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_sched.h')
-rw-r--r--include/net/pkt_sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h
index 65afc4966204..fffdc603f4c8 100644
--- a/include/net/pkt_sched.h
+++ b/include/net/pkt_sched.h
@@ -99,9 +99,9 @@ static inline void qdisc_run(struct Qdisc *q)
__qdisc_run(q);
}
-extern int tc_classify_compat(struct sk_buff *skb, struct tcf_proto *tp,
+extern int tc_classify_compat(struct sk_buff *skb, const struct tcf_proto *tp,
struct tcf_result *res);
-extern int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
+extern int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp,
struct tcf_result *res);
/* Calculate maximal size of packet seen by hard_start_xmit