]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: clear command data on freeing
authorJohannes Berg <johannes.berg@intel.com>
Tue, 9 Sep 2014 19:16:06 +0000 (21:16 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Sep 2014 09:56:39 +0000 (12:56 +0300)
commit74feac554c60a0282b07fc179a4a93a732957ea5
treeefca655d686da4f1df5bff67eac467fff2daf542
parenteb2f3e5b8bf58339ecd83b98b5660cd73b8cd1f7
iwlwifi: pcie: clear command data on freeing

When freeing the structures used for command data, clear their
memory as they may have contained key material at some point.
Also clear the duplicated buffer when freeing it to be safe;
currently key material is never put there but that may change.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/tx.c