]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ieee80211: Fix TKIP and WEP decryption error on SMP machines
authorZhu Yi <yi.zhu@intel.com>
Mon, 21 Aug 2006 03:33:56 +0000 (11:33 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Aug 2006 21:06:30 +0000 (17:06 -0400)
commit5a656949719bf8598ad1e93a56eb11e70a4c3208
treeea0df5c37e264903b9e82e4ec7ade946e6d39be2
parentb4328d87ec5711543b818fea2e1cf64f09d326f1
[PATCH] ieee80211: Fix TKIP and WEP decryption error on SMP machines

The IEEE80211 TKIP and WEP Tx and Rx paths use the same crypto_tfm to encrypt
and decrypt data. During the encrypt and decrypt process, both of them will
set a new key to crypto_tfm. If they happen on the same time, it will
corrupt the crypto_tfm. Thus users will receive an ICV error or Michael MIC
error. This only likely to happen on SMP box with heavy traffic both on Tx
and Rx. The patch use two sets of crypto_tfms to avoid this problem.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_crypt_tkip.c
net/ieee80211/ieee80211_crypt_wep.c