Skip to content

Commit

Permalink
Pull github.com/aircrack-ng/pull/66
Browse files Browse the repository at this point in the history
  • Loading branch information
nrndda committed Sep 11, 2021
1 parent ab69401 commit 61e0c31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions os_dep/linux/recv_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,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;
#else
rtw_napi_gro_receive(&padapter->napi, pskb);
rx_ok = _TRUE;
#endif
goto next;
}
#endif /* CONFIG_RTW_GRO */
Expand Down

0 comments on commit 61e0c31

Please sign in to comment.