Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108003
b: refs/heads/master
c: f982307
h: refs/heads/master
i:
  108001: cd747ae
  107999: 71637e1
v: v3
  • Loading branch information
Joe Eykholt authored and Jeff Garzik committed Aug 7, 2008
1 parent c4aa9c3 commit 214078c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d7a3681232f545c6a59f77e60f7667673ef0e93
refs/heads/master: f982307f22db96201e41540295f24e8dcc10c78f
6 changes: 4 additions & 2 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2210,7 +2210,8 @@ int netif_receive_skb(struct sk_buff *skb)
#endif

list_for_each_entry_rcu(ptype, &ptype_all, list) {
if (ptype->dev == null_or_orig || ptype->dev == skb->dev) {
if (ptype->dev == null_or_orig || ptype->dev == skb->dev ||
ptype->dev == orig_dev) {
if (pt_prev)
ret = deliver_skb(skb, pt_prev, orig_dev);
pt_prev = ptype;
Expand All @@ -2235,7 +2236,8 @@ int netif_receive_skb(struct sk_buff *skb)
list_for_each_entry_rcu(ptype,
&ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) {
if (ptype->type == type &&
(ptype->dev == null_or_orig || ptype->dev == skb->dev)) {
(ptype->dev == null_or_orig || ptype->dev == skb->dev ||
ptype->dev == orig_dev)) {
if (pt_prev)
ret = deliver_skb(skb, pt_prev, orig_dev);
pt_prev = ptype;
Expand Down

0 comments on commit 214078c

Please sign in to comment.