git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dsa: fix skb->pkt_type when mac address of slave interface differs
[pandora-kernel.git]
/
net
/
dsa
/
tag_edsa.c
diff --git
a/net/dsa/tag_edsa.c
b/net/dsa/tag_edsa.c
index
f985ea9
..
9f4ce55
100644
(file)
--- a/
net/dsa/tag_edsa.c
+++ b/
net/dsa/tag_edsa.c
@@
-178,6
+178,7
@@
static int edsa_rcv(struct sk_buff *skb, struct net_device *dev,
skb->dev = ds->ports[source_port];
skb_push(skb, ETH_HLEN);
+ skb->pkt_type = PACKET_HOST;
skb->protocol = eth_type_trans(skb, skb->dev);
skb->dev->last_rx = jiffies;