cfg80211: clear nl80211 messages carrying keys after processing
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2014 12:00:16 +0000 (15:00 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 10:07:39 +0000 (12:07 +0200)
commit5393b917bcbb0ce0338668c89397137bd2b7436e
tree478487ac71eeaa7170d34b4f575d8e819910fd0c
parent78f686cae0c67a2edd167cbbe2f36017f0fa4b30
cfg80211: clear nl80211 messages carrying keys after processing

Clear any nl80211 messages that might contain keys after
processing them to avoid leaving their data in memory
"forever" after they've been freed.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c