]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit3d7af878357acd9e37fc156928106f1a969c8942
tree2600b3bd92d4821fb4c16a3d6a1a22a5089f3aca
parentab0d76f6823cc3a4e277c888abd344e3b977e279
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