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 mac80211: aes_ccm.c remove crypto wrapper and extra args 2008-07-08 14:16:02 -04:00
aes_ccm.h mac80211: pass scratch buffer directly, remove additional pointers 2008-07-08 14:16:02 -04:00
cfg.c mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
cfg.h
debugfs.c mac80211: make bridge_packets a virtual interface option 2008-09-15 16:48:22 -04:00
debugfs.h
debugfs_key.c mac80211: share STA information with driver 2008-09-15 16:48:23 -04:00
debugfs_key.h
debugfs_netdev.c mac80211: fix debugfs netdev rename 2008-10-14 20:48:00 -04:00
debugfs_netdev.h mac80211: revamp virtual interface handling 2008-07-14 14:30:07 -04:00
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 replace net_device arguments with ieee80211_{local,sub_if_data} as appropriate 2008-08-22 16:29:58 -04:00
ht.c mac80211: share STA information with driver 2008-09-15 16:48:23 -04:00
ieee80211_i.h mac80211: fix HT information element parsing 2008-10-14 20:47:15 -04:00
iface.c mac80211: fixups for "make master iface not wireless" 2008-09-30 14:07:23 -04:00
key.c mac80211: free up 2 bytes in skb->cb 2008-10-06 18:14:57 -04:00
key.h mac80211: Let drivers have access to TKIP key offets for TX and RX MIC 2008-06-27 09:09:17 -04:00
led.c
led.h
main.c mac80211: add the 'minstrel' rate control algorithm 2008-10-06 18:14:57 -04:00
mesh.c mac80211: make master iface not wireless 2008-09-24 16:18:00 -04:00
mesh.h mac80211: mesh portal functionality support 2008-09-24 16:18:02 -04:00
mesh_hwmp.c mac80211: move txrate_idx into RC algorithms 2008-09-15 16:48:24 -04:00
mesh_pathtbl.c mac80211: mesh portal functionality support 2008-09-24 16:18:02 -04:00
mesh_plink.c mac80211: share sta->supp_rates 2008-09-15 16:48:24 -04:00
michael.c mac80211: remove ieee80211_get_hdr_info 2008-07-08 14:16:01 -04:00
michael.h mac80211: remove ieee80211_get_hdr_info 2008-07-08 14:16:01 -04:00
mlme.c mac80211: remove ieee80211_notify_mac 2008-11-18 17:26:26 -05:00
rate.c mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
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 mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
rc80211_pid_algo.c mac80211: clean up rate control API 2008-09-24 16:18:03 -04:00
rc80211_pid_debugfs.c mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
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 mac80211: move frame TX function 2008-09-11 15:53:39 -04:00
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 mac80211: share STA information with driver 2008-09-15 16:48:23 -04:00
tkip.h mac80211: tkip.c consolidate tkip IV writing in helper 2008-06-14 12:18:13 -04:00
tx.c mac80211: add multi-rate retry support 2008-10-06 18:14:57 -04:00
util.c mac80211: fix HT information element parsing 2008-10-14 20:47:15 -04:00
wep.c mac80211: free up 2 bytes in skb->cb 2008-10-06 18:14:57 -04:00
wep.h mac80211: a few code cleanups 2008-05-07 15:02:11 -04:00
wext.c mac80211 : Fix setting ad-hoc mode and non-ibss channel 2008-11-25 16:13:08 -05:00
wme.c mac80211: fixups for "make master iface not wireless" 2008-09-30 14:07:23 -04:00
wme.h mac80211: clean up some comments 2008-09-15 16:48:22 -04:00
wpa.c mac80211: free up 2 bytes in skb->cb 2008-10-06 18:14:57 -04:00
wpa.h