qcacmn: Add support to flush rx packets for a vdev
When a particular vdev is deleted, the corresponding rx packets which have been queued to the rx thread are not flushed. Hence when such packets are submitted to the network stack, the dev for this skb will be invalid, since we have already freed the adapter. Flush out the packets in the rx thread queues, before deleting the vdev. CRs-Fixed: 2543392 Change-Id: I2490d0f5ce965f62152613a17a59232521ca058f
This commit is contained in:
@@ -445,6 +445,15 @@ void dp_rx_pdev_detach(struct dp_pdev *pdev);
|
||||
|
||||
void dp_print_napi_stats(struct dp_soc *soc);
|
||||
|
||||
/**
|
||||
* dp_rx_vdev_detach() - detach vdev from dp rx
|
||||
* @vdev: virtual device instance
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS: success
|
||||
* QDF_STATUS_E_RESOURCES: Error return
|
||||
*/
|
||||
QDF_STATUS dp_rx_vdev_detach(struct dp_vdev *vdev);
|
||||
|
||||
uint32_t
|
||||
dp_rx_process(struct dp_intr *int_ctx, hal_ring_handle_t hal_ring_hdl,
|
||||
uint8_t reo_ring_num,
|
||||
|
Reference in New Issue
Block a user