diff options
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/em_meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index 3da4129b89d1..72cf86e3c090 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c | |||
@@ -256,10 +256,10 @@ META_COLLECTOR(int_rtclassid) | |||
256 | 256 | ||
257 | META_COLLECTOR(int_rtiif) | 257 | META_COLLECTOR(int_rtiif) |
258 | { | 258 | { |
259 | if (unlikely(skb->dst == NULL)) | 259 | if (unlikely(skb->rtable == NULL)) |
260 | *err = -1; | 260 | *err = -1; |
261 | else | 261 | else |
262 | dst->value = ((struct rtable*) skb->dst)->fl.iif; | 262 | dst->value = skb->rtable->fl.iif; |
263 | } | 263 | } |
264 | 264 | ||
265 | /************************************************************************** | 265 | /************************************************************************** |