[NET]: Fix reversed logic in eth_type_trans().
I got the second compare_eth_addr() test reversed, oops.
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index 8b299cc..68a5ca8 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -191,7 +191,7 @@
*/
else if(1 /*dev->flags&IFF_PROMISC*/) {
- if (unlikely(!compare_eth_addr(eth->h_dest, dev->dev_addr)))
+ if (unlikely(compare_eth_addr(eth->h_dest, dev->dev_addr)))
skb->pkt_type = PACKET_OTHERHOST;
}