
Currently in dp_peer_find_id_to_obj_add while adding peer to soc peer_id_to_obj_map list, if peer entry is already present for the peer_id due to no umap event for older peer, driver calls QDF_ASSERT and returns, As QDF_ASSERT is NOP it results in older entry still present in the table. which results in peer leak issue as while doing peer unamp driver gets peer from soc peer_id_to_obj_map table based on peer id, Since older entry is still there older peer will be freed and new peer unamp will not happen. To fix the issue call qdf_assert_always if peer entry is already present for peer id which will always assert and add additional logs to print peer information. Change-Id: Ic777e9c7881fcbc67f54002bd619a8e6d52de126 CRs-Fixed: 3369736
165 KiB
165 KiB