28 lines
1009 B
Diff
28 lines
1009 B
Diff
|
From e39685e57878934a245c30272b2bd40fafb877d3 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
||
|
Date: Tue, 23 Feb 2021 19:08:13 +0100
|
||
|
Subject: [PATCH 128/389] 8723cs: Port to 5.12
|
||
|
|
||
|
---
|
||
|
drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c b/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c
|
||
|
index 13cd7660ac7e..d1a908a07437 100644
|
||
|
--- a/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c
|
||
|
+++ b/drivers/staging/rtl8723cs/os_dep/linux/recv_linux.c
|
||
|
@@ -405,8 +405,8 @@ static int napi_recv(_adapter *padapter, int budget)
|
||
|
So, we should prevent cloned SKB go into napi_gro_receive.
|
||
|
*/
|
||
|
if (pregistrypriv->en_gro && !skb_cloned(pskb)) {
|
||
|
- if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
|
||
|
- rx_ok = _TRUE;
|
||
|
+ rtw_napi_gro_receive(&padapter->napi, pskb);
|
||
|
+ rx_ok = _TRUE;
|
||
|
goto next;
|
||
|
}
|
||
|
#endif /* CONFIG_RTW_GRO */
|
||
|
--
|
||
|
2.35.3
|
||
|
|