Files
kernel_oneplus_8750-modules/components
Asutosh Mohapatra 3ebae9145d qcacld-3.0: Decrement NAN PASN Peer Count Once Per Peer
Currently, the host decrements the NAN PASN peer count twice
during peer unpairing. If there are two PASN peers and one is
unpaired, the host reduces the NAN PASN peer count from two to
zero. Consequently, if the interface goes down later, the host
attempts to delete all NAN PASN peers. However, since the peer
count is already zero, it cannot delete the peer, leading to a
reference leak during vdev deletion.

To resolve this issue, decrement the peer count only once while
handling peer delete response.

Additionally, the host attempts to complete the
nan_pairing_create_ctx cookie after processing the deletion of all
PASN peers, which is an incorrect cookie. Use the correct cookie,
which is nan_delete_all_peer_ctx.

CRs-Fixed: 4044914
Change-Id: I0f516ef0b5a2addcdd08a6dfab3d6a9fde5a10c7
2025-02-11 15:27:12 -08:00
..
2022-12-07 09:46:47 -08:00
2022-12-20 14:18:51 -08:00
2022-12-27 19:09:43 -08:00