dsa: fix skb->pkt_type when mac address of slave interface differs
authorLennert Buytenhek <buytenh@marvell.com>
Tue, 11 Nov 2008 05:52:42 +0000 (21:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2008 05:52:42 +0000 (21:52 -0800)
commit14ee6742b1b5df275cd2d771b4562b4f808c9419
treea3e4e3ded1c6f903b3a2abff6e232e473ae69634
parent5cd33db2120b5ce972568711156f91da83bff2d7
dsa: fix skb->pkt_type when mac address of slave interface differs

When a dsa slave interface has a mac address that differs from that
of the master interface, eth_type_trans() won't explicitly set
skb->pkt_type back to PACKET_HOST -- we need to do this ourselves
before calling eth_type_trans().

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_trailer.c