diff options
Diffstat (limited to 'net/sched/cls_route.c')
-rw-r--r-- | net/sched/cls_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c index 36fec4227401..44f405cb9aaf 100644 --- a/net/sched/cls_route.c +++ b/net/sched/cls_route.c | |||
@@ -143,7 +143,7 @@ static int route4_classify(struct sk_buff *skb, const struct tcf_proto *tp, | |||
143 | if (head == NULL) | 143 | if (head == NULL) |
144 | goto old_method; | 144 | goto old_method; |
145 | 145 | ||
146 | iif = ((struct rtable *)dst)->rt_iif; | 146 | iif = inet_iif(skb); |
147 | 147 | ||
148 | h = route4_fastmap_hash(id, iif); | 148 | h = route4_fastmap_hash(id, iif); |
149 | if (id == head->fastmap[h].id && | 149 | if (id == head->fastmap[h].id && |