]> 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)
commit06f649a764c1d99a8dee6b6b0182212ea9a5f43e
treec8feb94d1f8416f8cd49847a7417dcfa5caa4d83
parent7038056a1f8b556b9ea74e03f048a6d6fd2e8f7c
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