mirror of
https://github.com/drygdryg/rtl8188eus.git
synced 2025-04-29 02:37:16 +09:00
Linux 5.12 compat: GRO_DROP
Changes related to removal of GRO_DROP
This commit is contained in:
parent
9f58857f02
commit
b77d6abf54
@ -354,7 +354,11 @@ static int napi_recv(_adapter *padapter, int budget)
|
||||
|
||||
#ifdef CONFIG_RTW_GRO
|
||||
if (pregistrypriv->en_gro) {
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 12, 0))
|
||||
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
|
||||
#else
|
||||
if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_MERGED_FREE)
|
||||
#endif
|
||||
rx_ok = _TRUE;
|
||||
goto next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user