28 lines
996 B
Diff
28 lines
996 B
Diff
From da4b30c241ac676b86acedde4663d88f7c2a1ae0 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Tue, 23 Feb 2021 19:08:13 +0100
|
|
Subject: [PATCH 231/478] 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
|
|
|