nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
authorSunil Dutt <usdutt@codeaurora.org>
Mon, 25 Feb 2019 10:07:20 +0000 (15:37 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Mar 2019 10:23:09 +0000 (11:23 +0100)
commitd6db02a88a4aaa1cd7105137c67ddec7f3bdbc05
tree0ad8dd4c1b8dc578b1d5579f0d160b0104d14942
parent90abf96abd9bb00f36c8d3640255e6bfa73f7495
nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands

This commit adds NL80211_FLAG_CLEAR_SKB flag to other NL commands
that carry key data to ensure they do not stick around on heap
after the SKB is freed.

Also introduced this flag for NL80211_CMD_VENDOR as there are sub
commands which configure the keys.

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