[MAC80211]: Add get_unaligned to ieee80211_get_radiotap_len
authorAndy Green <andy@warmcat.com>
Fri, 27 Jul 2007 13:43:24 +0000 (15:43 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:47:40 +0000 (16:47 -0700)
commitdfe6e81deaa79c85086c0cc8d85b229e444ab97f
tree42a137b7642c6faec8a505d16186f3b65b2e2d8d
parent0ec0b7ac3cdfb8635d75aead5733f7a424ea4ad3
[MAC80211]: Add get_unaligned to ieee80211_get_radiotap_len

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: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/ieee80211_radiotap.h