aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/cls_route.c')
-rw-r--r--net/sched/cls_route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c
index c9136136727b..1ad3068f2ce1 100644
--- a/net/sched/cls_route.c
+++ b/net/sched/cls_route.c
@@ -123,7 +123,7 @@ static inline int route4_hash_wild(void)
123static int route4_classify(struct sk_buff *skb, const struct tcf_proto *tp, 123static int route4_classify(struct sk_buff *skb, const struct tcf_proto *tp,
124 struct tcf_result *res) 124 struct tcf_result *res)
125{ 125{
126 struct route4_head *head = (struct route4_head *)tp->root; 126 struct route4_head *head = tp->root;
127 struct dst_entry *dst; 127 struct dst_entry *dst;
128 struct route4_bucket *b; 128 struct route4_bucket *b;
129 struct route4_filter *f; 129 struct route4_filter *f;
@@ -213,7 +213,7 @@ static inline u32 from_hash(u32 id)
213 213
214static unsigned long route4_get(struct tcf_proto *tp, u32 handle) 214static unsigned long route4_get(struct tcf_proto *tp, u32 handle)
215{ 215{
216 struct route4_head *head = (struct route4_head *)tp->root; 216 struct route4_head *head = tp->root;
217 struct route4_bucket *b; 217 struct route4_bucket *b;
218 struct route4_filter *f; 218 struct route4_filter *f;
219 unsigned int h1, h2; 219 unsigned int h1, h2;
@@ -284,7 +284,7 @@ static void route4_destroy(struct tcf_proto *tp)
284 284
285static int route4_delete(struct tcf_proto *tp, unsigned long arg) 285static int route4_delete(struct tcf_proto *tp, unsigned long arg)
286{ 286{
287 struct route4_head *head = (struct route4_head *)tp->root; 287 struct route4_head *head = tp->root;
288 struct route4_filter **fp, *f = (struct route4_filter *)arg; 288 struct route4_filter **fp, *f = (struct route4_filter *)arg;
289 unsigned int h = 0; 289 unsigned int h = 0;
290 struct route4_bucket *b; 290 struct route4_bucket *b;