linux/net/mac80211
Shaddy Baddah 5cf12e8dc6 mac80211: use unaligned safe memcmp() in-place of compare_ether_addr()
After fixing zd1211rw: use unaligned safe memcmp() in-place of
compare_ether_addr(), I started to see kernel log messages detailing
unaligned access:

  Kernel unaligned access at TPC[100f7f44] sta_info_get+0x24/0x68 [mac80211]

As with the aforementioned patch, the unaligned access was eminating
from a compare_ether_addr() call. Concerned that whilst it was safe to
assume that unalignment was the norm for the zd1211rw, and take
preventative measures, it may not be the case or acceptable to use the
easy fix of changing the call to memcmp().

My research however indicated that it was OK to do this, as there are
a few instances where memcmp() is the preferred mechanism for doing
mac address comparisons throughout the module.

Signed-off-by: Shaddy Baddah <shaddy_baddah@hotmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-05 09:18:35 -05:00
..
Kconfig mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
Makefile mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
aes_ccm.c
aes_ccm.h
cfg.c
cfg.h
debugfs.c
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c mac80211: fix debugfs netdev rename 2008-10-14 20:48:00 -04:00
debugfs_netdev.h
debugfs_sta.c mac80211: fix a buffer overrun in station debug code 2008-11-10 21:37:39 -08:00
debugfs_sta.h
event.c
ht.c
ieee80211_i.h mac80211: fix HT information element parsing 2008-10-14 20:47:15 -04:00
iface.c
key.c
key.h
led.c
led.h
main.c mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
mesh.c
mesh.h
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
michael.c
michael.h
mlme.c mac80211: remove ieee80211_notify_mac 2008-11-18 17:26:26 -05:00
rate.c
rate.h mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
rc80211_minstrel.c mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
rc80211_minstrel.h mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
rc80211_minstrel_debugfs.c mac80211: correct warnings in minstrel rate control algorithm 2008-10-27 17:46:11 -04:00
rc80211_pid.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rx.c net/mac80211/rx.c: fix build error 2008-10-12 23:51:38 -07:00
scan.c mac80211: Fix scan RX processing oops 2008-10-14 21:08:11 -04:00
spectmgmt.c
sta_info.c mac80211: use unaligned safe memcmp() in-place of compare_ether_addr() 2008-12-05 09:18:35 -05:00
sta_info.h mac80211: fix debugfs lockup 2008-10-14 20:46:41 -04:00
tkip.c
tkip.h
tx.c
util.c mac80211: fix HT information element parsing 2008-10-14 20:47:15 -04:00
wep.c
wep.h
wext.c mac80211 : Fix setting ad-hoc mode and non-ibss channel 2008-11-25 16:13:08 -05:00
wme.c
wme.h
wpa.c
wpa.h