On Sat, Dec 16, 2006 at 06:01:03PM -0500, Michael Wu wrote: > skb->mac.raw = skb->data; > skb->ip_summed = CHECKSUM_UNNECESSARY; > skb->pkt_type = PACKET_OTHERHOST; > - skb->protocol = htons(ETH_P_802_2); > + skb->protocol = __constant_htons(ETH_P_802_2); > memset(skb->cb, 0, sizeof(skb->cb)); > netif_rx(skb);
htons and friends can handle determining the argument is a constant on their own, so this change should be dropped. - 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