cde6901b7b
Under my 2.6.28-rc6 sparc64, when associating to an AP through my zd1211rw device, I was seeing kernel log messages like (not exact output): Kernel unaligned access at TPC[10129b68] zd_mac_rx+0x144/0x32c [zd1211rw] For the zd1211rw module, on RX, the 80211 packet will be located after the PLCP header in the skb data buffer. The PLCP header being 5 bytes long, the 80211 header will start unaligned from an aligned skb buffer. As per Documentation/unaligned-memory-access.txt, we must replace the not unaligned() safe compare_ether_addr() with memcmp() to protect architectures that require alignment. Signed-off-by: Shaddy Baddah <shaddy_baddah@hotmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
ath5k | ||
ath9k | ||
b43 | ||
b43legacy | ||
hostap | ||
iwlwifi | ||
libertas | ||
libertas_tf | ||
p54 | ||
prism54 | ||
rt2x00 | ||
zd1211rw | ||
adm8211.c | ||
adm8211.h | ||
airo.c | ||
airo.h | ||
airo_cs.c | ||
airport.c | ||
arlan-main.c | ||
arlan-proc.c | ||
arlan.h | ||
atmel.c | ||
atmel.h | ||
atmel_cs.c | ||
atmel_pci.c | ||
hermes.c | ||
hermes.h | ||
hermes_dld.c | ||
hermes_dld.h | ||
hermes_rid.h | ||
i82586.h | ||
i82593.h | ||
ipw2100.c | ||
ipw2100.h | ||
ipw2200.c | ||
ipw2200.h | ||
Kconfig | ||
mac80211_hwsim.c | ||
Makefile | ||
netwave_cs.c | ||
orinoco.c | ||
orinoco.h | ||
orinoco_cs.c | ||
orinoco_nortel.c | ||
orinoco_pci.c | ||
orinoco_pci.h | ||
orinoco_plx.c | ||
orinoco_tmd.c | ||
ray_cs.c | ||
ray_cs.h | ||
rayctl.h | ||
rndis_wlan.c | ||
rtl818x.h | ||
rtl8180.h | ||
rtl8180_dev.c | ||
rtl8180_grf5101.c | ||
rtl8180_grf5101.h | ||
rtl8180_max2820.c | ||
rtl8180_max2820.h | ||
rtl8180_rtl8225.c | ||
rtl8180_rtl8225.h | ||
rtl8180_sa2400.c | ||
rtl8180_sa2400.h | ||
rtl8187.h | ||
rtl8187_dev.c | ||
rtl8187_rtl8225.c | ||
rtl8187_rtl8225.h | ||
spectrum_cs.c | ||
strip.c | ||
wavelan.c | ||
wavelan.h | ||
wavelan.p.h | ||
wavelan_cs.c | ||
wavelan_cs.h | ||
wavelan_cs.p.h | ||
wl3501.h | ||
wl3501_cs.c | ||
zd1201.c | ||
zd1201.h |