|
@@ -190,6 +190,7 @@ static int hdd_lro_desc_find(struct hdd_lro_s *lro_info,
|
|
|
/* Check if this flow exists in the descriptor list */
|
|
|
list_for_each(ptr, &lro_hash_table->lro_desc_list) {
|
|
|
struct net_lro_desc *tmp_lro_desc = NULL;
|
|
|
+
|
|
|
entry = list_entry(ptr, struct hdd_lro_desc_entry, lro_node);
|
|
|
tmp_lro_desc = entry->lro_desc;
|
|
|
if (tmp_lro_desc->active) {
|
|
@@ -568,7 +569,6 @@ void hdd_lro_disable(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter)
|
|
|
|
|
|
/* Deregister the flush callback */
|
|
|
cdp_deregister_lro_flush_cb(soc, hdd_deinit_lro_mgr);
|
|
|
- return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -627,9 +627,8 @@ enum hdd_lro_rx_status hdd_lro_rx(hdd_context_t *hdd_ctx,
|
|
|
lro_receive_skb_ext(lro_info->lro_mgr, skb,
|
|
|
(void *)adapter, &hdd_lro_info);
|
|
|
|
|
|
- if (!hdd_lro_info.lro_desc->active) {
|
|
|
+ if (!hdd_lro_info.lro_desc->active)
|
|
|
hdd_lro_desc_free(lro_desc, lro_info);
|
|
|
- }
|
|
|
|
|
|
status = HDD_LRO_RX;
|
|
|
} else {
|