Skip to content

Commit

Permalink
rtl8192ee: Fix bug associated with removal of GRO_DROP
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <[email protected]>
  • Loading branch information
lwfinger committed Jan 26, 2022
1 parent ba4037b commit ddd8bec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion os_dep/linux/recv_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,13 @@ 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)
rx_ok = _TRUE;
rx_ok = true;
#else
rtw_napi_gro_receive(&padapter->napi, pskb);
rx_ok = true;
#endif
goto next;
}
#endif /* CONFIG_RTW_GRO */
Expand Down

0 comments on commit ddd8bec

Please sign in to comment.