]> err.no Git - linux-2.6/commit
[PATCH] ieee80211: fix not allocating IV+ICV space when usingencryption in ieee80211_...
authorHong Liu <hong.liu@intel.com>
Wed, 21 Jun 2006 03:35:08 +0000 (11:35 +0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Jul 2006 17:42:57 +0000 (13:42 -0400)
commit4b301536694facb93f597281580f5ad907d36050
tree7fe6aca074a37084e4c15a1438a6cedae1497108
parenta1d79aaaa564abc19b7bf3a024bb371fa7648a15
[PATCH] ieee80211: fix not allocating IV+ICV space when usingencryption in ieee80211_tx_frame

We should preallocate IV+ICV space when encrypting the frame.
Currently no problem shows up just because dev_alloc_skb aligns the
data len to SMP_CACHE_BYTES which can be used for ICV.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_tx.c