]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: use policy range validation where applicable
authorJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 08:00:07 +0000 (10:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Oct 2018 14:00:58 +0000 (16:00 +0200)
commitb8de08d4f9089a54ed2f5c8fe4ac4d5ac1e202f6
treead4aaeefebe33e1938c904b994c769dbd2232845
parentb1ec8c39e859dfddc6f1de57c0f4b1e1e5a1db10
nl80211: use policy range validation where applicable

Many range checks can be done in the policy, move them
there. A few in mesh are added in the code (taken out of
the macros) because they don't fit into the s16 range in
the policy validation.

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