mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
qcacld-3.0: Flush frags for peer on add key request
Fragments are not flushed as part of rekey which could result in fragments encrypted under different keys to be reassembled. Fix is to flush fragments for the peer for which add key request is received. Change-Id: I5ab88fd1bc5936e2aa0910f859fa222873d4e295 CVE-Fixed: CVE-2020-24587 Mot-CRs-fixed: (CR) CRs-Fixed: 2875950 Reviewed-on: https://gerrit.mot.com/1929642 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Bin Liu <liubin7@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ee511154a8
commit
e95eba2bdd
1 changed files with 3 additions and 0 deletions
|
|
@ -18753,6 +18753,9 @@ static int __wlan_hdd_cfg80211_add_key(struct wiphy *wiphy,
|
|||
cdp_peer_flush_frags(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
wlan_vdev_get_id(vdev), mac_address.bytes);
|
||||
|
||||
cdp_peer_flush_frags(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
wlan_vdev_get_id(vdev), mac_address.bytes);
|
||||
|
||||
switch (adapter->device_mode) {
|
||||
case QDF_SAP_MODE:
|
||||
case QDF_P2P_GO_MODE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue