From 4dc96c3a75b2ab949f09322309f32bd24ab84868 Mon Sep 17 00:00:00 2001 From: Himanshu Agarwal Date: Mon, 31 Jul 2017 11:27:39 +0530 Subject: [PATCH] qcacld-3.0: Do not LRO aggregate if peer is not connected We have race condition between lro flush of hif_napi_poll and MC thread lro flush while flushing the ol_txrx_cached_bufq packets for peer. Avoid the situation by simply marking the all the Rx packets as LRO ineligible while enqueuing packets to ol_rx_cached_buf. Change-Id: Ief0d7dd6c25cf45912820f0e237fd1179a57a5c7 CRs-Fixed: 2032674 --- core/dp/txrx/ol_txrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index 90cd84d1cc..169120564a 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -4805,6 +4805,7 @@ static inline int ol_txrx_drop_nbuf_list(qdf_nbuf_t buf_list) buf = buf_list; while (buf) { + QDF_NBUF_CB_RX_LRO_INELIGIBLE(buf) = 1; next_buf = qdf_nbuf_queue_next(buf); if (pdev) TXRX_STATS_MSDU_INCR(pdev,