Page MenuHomeFreeBSD

D56067.1793822095.diff
No OneTemporary

Authored By
Unknown
Size
826 B
Referenced Files
None
Subscribers
None

D56067.1793822095.diff

diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -396,10 +396,11 @@
if (already_listening)
goto out;
- if (error == 0)
+ if (error == 0) {
in_pcblisten(inp);
- if (tp->t_flags & TF_FASTOPEN)
- tp->t_tfo_pending = tcp_fastopen_alloc_counter();
+ if (tp->t_flags & TF_FASTOPEN)
+ tp->t_tfo_pending = tcp_fastopen_alloc_counter();
+ }
out:
tcp_bblog_pru(tp, PRU_LISTEN, error);
@@ -460,10 +461,11 @@
if (already_listening)
goto out;
- if (error == 0)
+ if (error == 0) {
in_pcblisten(inp);
- if (tp->t_flags & TF_FASTOPEN)
- tp->t_tfo_pending = tcp_fastopen_alloc_counter();
+ if (tp->t_flags & TF_FASTOPEN)
+ tp->t_tfo_pending = tcp_fastopen_alloc_counter();
+ }
if (error != 0)
inp->inp_vflag = vflagsav;

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 4, 7:54 PM (14 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41448218
Default Alt Text
D56067.1793822095.diff (826 B)

Event Timeline