Add get_unaligned to ieee80211_get_radiotap_len
commit774b4c5215a40f8971ca71470f3832e0ed53a41f
authorAndy Green <andy@warmcat.com>
Wed, 10 Oct 2007 02:46:33 +0000 (9 22:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 Nov 2007 15:44:12 +0000 (2 08:44 -0700)
tree504c76e94245e2b94f221d29d9898d6a66f9bfa9
parent8c7537c719348c8bed52f08b2d6e9a8795165290
Add get_unaligned to ieee80211_get_radiotap_len

patch dfe6e81deaa79c85086c0cc8d85b229e444ab97f in mainline.

ieee80211_get_radiotap_len() tries to dereference radiotap length without
taking care that it is completely unaligned and get_unaligned()
is required.

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/ieee80211.c