summaryrefslogtreecommitdiffstats
path: root/net/key/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-05-11 20:02:47 +0200
committerJohannes Berg <johannes.berg@intel.com>2021-05-11 20:13:35 +0200
commit3a11ce08c45b50d69c891d71760b7c5b92074709 (patch)
treeb30b9d16fc536c03f0c4251640be30b7d798d900 /net/key/Makefile
parent270032a2a9c4535799736142e1e7c413ca7b836e (diff)
downloadlinux-stable-3a11ce08c45b50d69c891d71760b7c5b92074709.tar.gz
linux-stable-3a11ce08c45b50d69c891d71760b7c5b92074709.tar.bz2
linux-stable-3a11ce08c45b50d69c891d71760b7c5b92074709.zip
mac80211: add fragment cache to sta_info
Prior patches protected against fragmentation cache attacks by coloring keys, but this shows that it can lead to issues when multiple stations use the same sequence number. Add a fragment cache to struct sta_info (in addition to the one in the interface) to separate fragments for different stations properly. This then automatically clear most of the fragment cache when a station disconnects (or reassociates) from an AP, or when client interfaces disconnect from the network, etc. On the way, also fix the comment there since this brings us in line with the recommendation in 802.11-2016 ("An AP should support ..."). Additionally, remove a useless condition (since there's no problem purging an already empty list). Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210511200110.fc35046b0d52.I1ef101e3784d13e8f6600d83de7ec9a3a45bcd52@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/key/Makefile')
0 files changed, 0 insertions, 0 deletions