diff options
author | Yogesh Ashok Powar <[email protected]> | 2011-06-28 18:41:37 +0530 |
---|---|---|
committer | John W. Linville <[email protected]> | 2011-07-05 15:26:50 -0400 |
commit | 3bff1865186c6bb97855f0c13e3850543dce9cef (patch) | |
tree | 4a9150f82cbb83a01f8fb82b3bf2d69028230928 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 252e735d64880b011f6cdeb41ebcac2eaeb58fd3 (diff) |
mac80211: Skip tailroom reservation for full HW-crypto devices with race fix
Based on inputs from Johannes Berg <[email protected]>
from http://article.gmane.org/gmane.linux.kernel.wireless.general/68193
and http://article.gmane.org/gmane.linux.kernel.wireless.general/71702
In xmit path, devices that do full hardware crypto (including
MMIC and ICV) need no tailroom. For such devices, tailroom
reservation can be skipped if all the keys are programmed into
the hardware (i.e software crypto is not used for any of the
keys) and none of the keys wants software to generate Michael
MIC and IV.
v2: Added check for IV along with MMIC.
Reported-by: Fabio Rossi <[email protected]>
Tested-by: Fabio Rossi <[email protected]>
Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
Cc: Mohammed Shafi Shajakhan <[email protected]>
v3: Fixing races to avoid WARNING: at net/mac80211/wpa.c:397
ccmp_encrypt_skb+0xc4/0x1f0
Reported-by: Andreas Hartmann <[email protected]>
Tested-by: Andreas Hartmann <[email protected]>
v4: Added links with message ID
Signed-off-by: Yogesh Ashok Powar <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions