aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/pkt_cls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r--include/net/pkt_cls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 3dd210d073ca..dd3031aed9d5 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -343,9 +343,9 @@ tcf_match_indev(struct sk_buff *skb, char *indev)
343 struct net_device *dev; 343 struct net_device *dev;
344 344
345 if (indev[0]) { 345 if (indev[0]) {
346 if (!skb->iif) 346 if (!skb->skb_iif)
347 return 0; 347 return 0;
348 dev = __dev_get_by_index(dev_net(skb->dev), skb->iif); 348 dev = __dev_get_by_index(dev_net(skb->dev), skb->skb_iif);
349 if (!dev || strcmp(indev, dev->name)) 349 if (!dev || strcmp(indev, dev->name))
350 return 0; 350 return 0;
351 } 351 }