netdev
[Top] [All Lists]

Re: [PATCH] introduce eth_hdr(skb)

To: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Subject: Re: [PATCH] introduce eth_hdr(skb)
From: Joe Perches <joe@xxxxxxxxxxx>
Date: Sat, 2 Oct 2004 11:01:34 -0700 (PDT)
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <415EDD0C.9080507@conectiva.com.br>
Sender: netdev-bounce@xxxxxxxxxxx

-       } else if (skb->mac.ethernet->h_proto == __constant_htons(ETH_P_ARP)) {
+       } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {

I believe the __constant_htons conversions to htons are incorrect.



<Prev in Thread] Current Thread [Next in Thread>