]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: handle various extensible elements correctly
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 10:41:45 +0000 (13:41 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2021 11:25:49 +0000 (13:25 +0200)
commit4d47a2bd71ffb0e09972285d52cc267bc2e3ce32
treec8feb94d1f8416f8cd49847a7417dcfa5caa4d83
parent2428a7eddd0860e0d9c37f084c4e9283e6d4a460
mac80211: handle various extensible elements correctly

Various elements are parsed with a requirement to have an
exact size, when really we should only check that they have
the minimum size that we need. Check only that and therefore
ignore any additional data that they might carry.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210618133832.cd101f8040a4.Iadf0e9b37b100c6c6e79c7b298cc657c2be9151a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c