android_kernel_xiaomi_sm8350/components/tdls
sheenam monga 0b2054b3c5 qcacld-3.0: Fix bss peer use after free in TDLS
wlan_vdev_get_bsspeer() return bss peer without taking the ref count
of the peer and thus if peer is deleted after wlan_vdev_get_bsspeer()
returns a valid peer, the caller will have stale entry of the peer.
Stale entry of peer can lead to Assert.

Use wlan_objmgr_vdev_try_get_bsspeer API in TDLS to get the BSS peer
which increment the refcount if peer is valid. With this the peer
won't be deleted till the caller release the ref count of the peer.

Change-Id: I9dc26771a0e8dadf75898c94bff5d4b8fb8a88d5
CRs-Fixed: 2445795
2019-05-03 09:23:47 -07:00
..
core/src qcacld-3.0: Fix bss peer use after free in TDLS 2019-05-03 09:23:47 -07:00
dispatcher qcacld-3.0: Update rssi when get all tdls peers 2019-04-29 04:17:25 -07:00