diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-07-05 19:25:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-06 05:52:16 -0400 |
commit | dc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch) | |
tree | c346ae8a155e187f4f88ba70788dc10ef5ff4c43 /net/sched/act_gact.c | |
parent | 95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6 (diff) |
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/act_gact.c')
-rw-r--r-- | net/sched/act_gact.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_gact.c b/net/sched/act_gact.c index 2b4ab4b05ce8..b77f5a06a658 100644 --- a/net/sched/act_gact.c +++ b/net/sched/act_gact.c | |||
@@ -125,7 +125,8 @@ static int tcf_gact_cleanup(struct tc_action *a, int bind) | |||
125 | return 0; | 125 | return 0; |
126 | } | 126 | } |
127 | 127 | ||
128 | static int tcf_gact(struct sk_buff *skb, struct tc_action *a, struct tcf_result *res) | 128 | static int tcf_gact(struct sk_buff *skb, const struct tc_action *a, |
129 | struct tcf_result *res) | ||
129 | { | 130 | { |
130 | struct tcf_gact *gact = a->priv; | 131 | struct tcf_gact *gact = a->priv; |
131 | int action = TC_ACT_SHOT; | 132 | int action = TC_ACT_SHOT; |