]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: use netlink policy validation function for elements
authorJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 08:00:08 +0000 (10:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Oct 2018 14:00:59 +0000 (16:00 +0200)
commitd1b5769b710e7111dbf96f31b7e892143a2ec546
tree2600b3bd92d4821fb4c16a3d6a1a22a5089f3aca
parent8345fe304aab57f5728d2874cc0839f27b4cf52a
nl80211: use netlink policy validation function for elements

Instead of open-coding a lot of calls to is_valid_ie_attr(),
add this validation directly to the policy, now that we can.

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