kernel-fxtec-pro1x/drivers/net/wireless/ath5k
Harvey Harrison 798ee9850e ath5k: explicitly check skb->len
ieee80211_get_hdrlen_from_skb internally checks that the skb is long
enough to hold the full header, or it returns 0 if not.  The check in
ath5k does not check this case and assumes it always got the actual
header length which it then checks against the skb->len plus some headroom.

Change to ieee80211_hdrlen which always returns the hdrlen and keep the
existing headroom check.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-08-22 16:29:53 -04:00
..
ath5k.h ath5k: rates cleanup 2008-08-22 16:29:50 -04:00
base.c ath5k: explicitly check skb->len 2008-08-22 16:29:53 -04:00
base.h ath5k: rates cleanup 2008-08-22 16:29:50 -04:00
debug.c ath5k: Update register list 2008-08-01 15:31:31 -04:00
debug.h ath5k: remove obsolete declaration of struct ieee80211_hw_mode 2008-08-01 15:31:33 -04:00
hw.c ath5k: rates cleanup 2008-08-22 16:29:50 -04:00
hw.h ath5k: struct ath5k_desc cleanups 2008-03-07 16:07:49 -05:00
initvals.c ath5k: Update register list 2008-08-01 15:31:31 -04:00
Kconfig ath5k: convert LED code to use mac80211 triggers 2008-06-27 09:09:17 -04:00
Makefile
phy.c ath5k: Update phy calibration functions 2008-08-01 15:31:32 -04:00
reg.h ath5k: Update register list 2008-08-01 15:31:31 -04:00