linux kernel 2.6.9-rc4, skb->mac.ethernet => eth_hdr(skb) issues.
Emil <[email protected]> Wed, 13 Oct 2004 14:19:05 +0200
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, you who this might concern. I have been trying to compile with the following results: --snip-- /usr/src/atm/at76c503a/at76c503.c: In function `ieee80211_to_eth': /usr/src/atm/at76c503a/at76c503.c:3903: error: union has no member named `ethernet' --snip-- at76c503.c - 3902-3903: eth_hdr = (struct ethhdr *)(skb->data-sizeof(struct ethhdr)); skb->mac.ethernet = eth_hdr; Related changes to the kernel i found in this file: /usr/src/linux/include/linux/if_ether.h Found on google; This error and sollution is most likely because of the same changes in the linux kernel, need different sollution though: http://pvrguide.no-ip.com/bbs-old/viewtopic/9079.html If I was abit better at this level of network-coding I could have made a patch, but I failed at that. My patched driver never returned any pings. And my conclusion to that is that I screwed up the ethernet-header. :-( Hopefully this is no match for the maintainers of this driver and they can fix this so that the forthcoming kernel 2.6.9 will work as a charm. Thank's for your great work! :-) /Emil L.