From: Daniel Drake Date: Thu, 22 Nov 2007 22:03:42 +0000 (+0000) Subject: ieee80211: fix unaligned access in ieee80211_copy_snap X-Git-Tag: v2.6.24-rc4~8^2~8^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e1f045e65b683fe7203b1e16a915bbb94c15fe;p=pandora-kernel.git ieee80211: fix unaligned access in ieee80211_copy_snap There is no guarantee that data+SNAP_SIZE will reside on an even numbered address, so doing a 16 bit read will cause an unaligned access in some situations. Based on a patch from Jun Sun. Signed-off-by: Daniel Drake Signed-off-by: John W. Linville --- Reading git-diff-tree failed