This removes an old comment and old commented-out code that's been there since at least as far back as 2.4.0.
Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]> Thanks! --- x/net/ethernet/eth.c 2006-01-06 12:49:27.000000000 -0600 +++ y/net/ethernet/eth.c 2006-01-06 18:01:43.000000000 -0600 @@ -168,20 +168,8 @@ __be16 eth_type_trans(struct sk_buff *sk skb->pkt_type = PACKET_BROADCAST; else skb->pkt_type = PACKET_MULTICAST; - } - - /* - * This ALLMULTI check should be redundant by 1.4 - * so don't forget to remove it. - * - * Seems, you forgot to remove it. All silly devices - * seems to set IFF_PROMISC. - */ - - else if(1 /*dev->flags&IFF_PROMISC*/) { - if (unlikely(compare_ether_addr(eth->h_dest, dev->dev_addr))) - skb->pkt_type = PACKET_OTHERHOST; - } + } else if (unlikely(compare_ether_addr(eth->h_dest, dev->dev_addr))) + skb->pkt_type = PACKET_OTHERHOST; if (ntohs(eth->h_proto) >= 1536) return eth->h_proto; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html