Loading drivers/firewire/net.c +1 −6 Original line number Original line Diff line number Diff line Loading @@ -628,14 +628,9 @@ static int fwnet_finish_incoming_packet(struct net_device *net, skb->pkt_type = PACKET_MULTICAST; skb->pkt_type = PACKET_MULTICAST; #endif #endif } else { } else { if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) { if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) u64 a1, a2; memcpy(&a1, eth->h_dest, sizeof(u64)); memcpy(&a2, net->dev_addr, sizeof(u64)); skb->pkt_type = PACKET_OTHERHOST; skb->pkt_type = PACKET_OTHERHOST; } } } if (ntohs(eth->h_proto) >= 1536) { if (ntohs(eth->h_proto) >= 1536) { protocol = eth->h_proto; protocol = eth->h_proto; } else { } else { Loading Loading
drivers/firewire/net.c +1 −6 Original line number Original line Diff line number Diff line Loading @@ -628,14 +628,9 @@ static int fwnet_finish_incoming_packet(struct net_device *net, skb->pkt_type = PACKET_MULTICAST; skb->pkt_type = PACKET_MULTICAST; #endif #endif } else { } else { if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) { if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) u64 a1, a2; memcpy(&a1, eth->h_dest, sizeof(u64)); memcpy(&a2, net->dev_addr, sizeof(u64)); skb->pkt_type = PACKET_OTHERHOST; skb->pkt_type = PACKET_OTHERHOST; } } } if (ntohs(eth->h_proto) >= 1536) { if (ntohs(eth->h_proto) >= 1536) { protocol = eth->h_proto; protocol = eth->h_proto; } else { } else { Loading