mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix missing NET_EPOCH_ENTER() when compiled with TCP_OFFLOAD.
Reported by: Coverity CID: 1413162
This commit is contained in:
parent
78373a5faa
commit
42ce79378d
1 changed files with 1 additions and 1 deletions
|
|
@ -911,12 +911,12 @@ tcp_usr_rcvd(struct socket *so, int flags)
|
|||
if (IS_FASTOPEN(tp->t_flags) &&
|
||||
(tp->t_state == TCPS_SYN_RECEIVED))
|
||||
goto out;
|
||||
NET_EPOCH_ENTER(et);
|
||||
#ifdef TCP_OFFLOAD
|
||||
if (tp->t_flags & TF_TOE)
|
||||
tcp_offload_rcvd(tp);
|
||||
else
|
||||
#endif
|
||||
NET_EPOCH_ENTER(et);
|
||||
tp->t_fb->tfb_tcp_output(tp);
|
||||
NET_EPOCH_EXIT(et);
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue