Re: [PATCH] New ARPHRD types

David S. Miller (davem@rth.ninka.net)
22 Oct 2002 16:55:36 -0700


On Mon, 2002-10-21 at 15:19, Solomon Peachy wrote:
> IEEE 802.11 has a variable "hardware" header length, 24 bytes for most
> frames but 30 bytes for others. This poses a problem if you want to
> expose a native 802.11 netdev interface to the OS, as
> netdev->hardhdr_len et.al. aren't variable.
>
> But wait, isn't there already ARPHRD_IEEE80211? Yes, but unfortunately,

If ARPHRD_IEEE80211 assumes 24 bytes, and like you say it shouldn't,
fix that bug instead. Don't add new ARP header types just to put
a bandaid on another bug.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/