summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2007-11-22 22:03:42 +0000
committerJohn W. Linville <linville@tuxdriver.com>2007-11-29 18:08:47 -0500
commit01e1f045e65b683fe7203b1e16a915bbb94c15fe (patch)
tree480686e2f3c5c49bf56ae06ef98998335bdaa38a /net/mac80211
parenta10605e599a7873417043fe2bb559abe719f8a1a (diff)
downloadblackbird-op-linux-01e1f045e65b683fe7203b1e16a915bbb94c15fe.tar.gz
blackbird-op-linux-01e1f045e65b683fe7203b1e16a915bbb94c15fe.zip
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 <dsd@gentoo.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud