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
Cette révision appartient à :
Himanshu Agarwal
2017-07-31 11:27:39 +05:30
révisé par snandini
Parent 0517bfc356
révision 4dc96c3a75

Voir le fichier

@@ -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,