diff options
| author | 2011-07-05 23:25:42 +0000 | |
|---|---|---|
| committer | 2011-07-06 02:52:16 -0700 | |
| commit | dc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch) | |
| tree | c346ae8a155e187f4f88ba70788dc10ef5ff4c43 /net/sched/cls_basic.c | |
| parent | packet: Add 'cpu' fanout policy. (diff) | |
| download | wireguard-linux-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.tar.xz wireguard-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 'net/sched/cls_basic.c')
| -rw-r--r-- | net/sched/cls_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_basic.c b/net/sched/cls_basic.c index 8be8872dd571..ea1f70b5a5f4 100644 --- a/net/sched/cls_basic.c +++ b/net/sched/cls_basic.c @@ -39,7 +39,7 @@ static const struct tcf_ext_map basic_ext_map = { .police = TCA_BASIC_POLICE }; -static int basic_classify(struct sk_buff *skb, struct tcf_proto *tp, +static int basic_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res) { int r; |
