diff options
-rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 30440e7b296c..9f66de9c0572 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -3208,7 +3208,8 @@ ncls: | |||
3208 | list_for_each_entry_rcu(ptype, | 3208 | list_for_each_entry_rcu(ptype, |
3209 | &ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) { | 3209 | &ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) { |
3210 | if (ptype->type == type && | 3210 | if (ptype->type == type && |
3211 | (ptype->dev == null_or_dev || ptype->dev == skb->dev)) { | 3211 | (ptype->dev == null_or_dev || ptype->dev == skb->dev || |
3212 | ptype->dev == orig_dev)) { | ||
3212 | if (pt_prev) | 3213 | if (pt_prev) |
3213 | ret = deliver_skb(skb, pt_prev, orig_dev); | 3214 | ret = deliver_skb(skb, pt_prev, orig_dev); |
3214 | pt_prev = ptype; | 3215 | pt_prev = ptype; |