]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: don't put kek/kck/replay counter on the stack
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2014 19:28:06 +0000 (22:28 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2014 10:07:34 +0000 (12:07 +0200)
commitf741cce722d5f0e6edefb7ed24cc3ff775874286
tree7cd313b911ecaeb47289d2825563530a386f3245
parentb16a118113cb5e6c0e33b377400c2a3c527b1132
cfg80211: don't put kek/kck/replay counter on the stack

There's no need to put the values on the stack, just pass a
pointer to the data in the nl80211 message. This reduces stack
usage and avoids potential issues with putting sensitive data
on the stack.

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