build/patch/kernel/archive/sunxi-6.5/patches.megous/8723cs-Port-to-5.12.patch

28 lines
1009 B
Diff
Raw Normal View History

From 55ded961f19627ec414b8d66c91b2181318f9f1f 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 133/464] 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.34.1