]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: clean up code/policy a bit
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Aug 2020 13:47:16 +0000 (15:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 09:24:56 +0000 (11:24 +0200)
commit5b4f83364fe8cfab11250d19748205e36720a50d
treeb0d9351c0c8a781be644b4b973c74f27e0470156
parent6fd69289bd4aadcfb43ac319c3e1b745638a3879
nl80211: clean up code/policy a bit

Use the policy to validate minimum and exact lengths in
some attributes that weren't previously covered in the
right ways, and remove associated validation code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200805154714.3ba1e233cfa0.I5dc8109b7ab5c3f4ae925f903a30cc9b35753262@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c