summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJohannes Berg2011-07-06 21:59:39 +0200
committerJohn W. Linville2011-07-08 17:11:19 +0200
commitaba83a0b301c32dbb91c017f33307611e1a1d384 (patch)
tree9f8478ddf2160c9b4c50666e037e6239ea52e274 /tools
parentmac80211: fix TKIP races, make API easier to use (diff)
downloadkernel-qcow2-linux-aba83a0b301c32dbb91c017f33307611e1a1d384.tar.gz
kernel-qcow2-linux-aba83a0b301c32dbb91c017f33307611e1a1d384.tar.xz
kernel-qcow2-linux-aba83a0b301c32dbb91c017f33307611e1a1d384.zip
mac80211: fix CCMP races
Since we can process multiple packets at the same time for different ACs, but the PN is allocated from a single counter, we need to use an atomic value there. Use atomic64_t to make this cheaper on 64-bit platforms, other platforms will support this through software emulation, see lib/atomic64.c. We also need to use an on-stack scratch buf so that multiple packets won't corrupt each others scratch buffers. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions