]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: add missing attribute validation for channel switch
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:10:58 +0000 (21:10 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Mar 2020 07:58:39 +0000 (08:58 +0100)
commitd8d01ebffcf5580dc8d559257a53c83726a28f45
treeea1775da71557a351bb587c4d08fb7c7d0a242fd
parentb52343e872000242e8ace22b6b39c61cf2deaa5a
nl80211: add missing attribute validation for channel switch

Add missing attribute validation for NL80211_ATTR_OPER_CLASS
to the netlink policy.

Fixes: 0abce845458c ("cfg80211: introduce TDLS channel switch commands")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20200303051058.4089398-4-kuba@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c