From: Zhu Yi Date: Mon, 21 Aug 2006 03:33:56 +0000 (+0800) Subject: [PATCH] ieee80211: Fix TKIP and WEP decryption error on SMP machines X-Git-Tag: v2.6.19-rc1~1263^2~60^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a656949719bf8598ad1e93a56eb11e70a4c3208;p=pandora-kernel.git [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 Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- Reading git-diff-tree failed