qcacmn: Fix VDEV ref leak issue

Fix VDEV ref leak issue in RX IGMP MLO handler

Change-Id: I920231cad434cdd237aedcd0f5c5d695472d1a40
CRs-Fixed: 3380335
This commit is contained in:
Chaithanya Garrepalli
2023-01-14 23:58:44 +05:30
committato da Madan Koyyalamudi
parent 880ee4dd1a
commit ff001a366b

Vedi File

@@ -1286,6 +1286,9 @@ bool dp_rx_mlo_igmp_handler(struct dp_soc *soc,
if (qdf_nbuf_is_ipv4_igmp_leave_pkt(nbuf) ||
qdf_nbuf_is_ipv6_igmp_leave_pkt(nbuf)) {
qdf_nbuf_free(nbuf);
dp_vdev_unref_delete(mcast_primary_vdev->pdev->soc,
mcast_primary_vdev,
DP_MOD_ID_RX);
return true;
}