aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/firewire/net.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index d83c54587a63..d67e8d957d21 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -628,13 +628,8 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
628 skb->pkt_type = PACKET_MULTICAST; 628 skb->pkt_type = PACKET_MULTICAST;
629#endif 629#endif
630 } else { 630 } else {
631 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) { 631 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len))
632 u64 a1, a2;
633
634 memcpy(&a1, eth->h_dest, sizeof(u64));
635 memcpy(&a2, net->dev_addr, sizeof(u64));
636 skb->pkt_type = PACKET_OTHERHOST; 632 skb->pkt_type = PACKET_OTHERHOST;
637 }
638 } 633 }
639 if (ntohs(eth->h_proto) >= 1536) { 634 if (ntohs(eth->h_proto) >= 1536) {
640 protocol = eth->h_proto; 635 protocol = eth->h_proto;