Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152964140
D44349.id135723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
576 B
Referenced Files
None
Subscribers
None
D44349.id135723.diff
View Options
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -812,11 +812,13 @@
#define ENTER_RECOVERY(t_flags) t_flags |= (TF_CONGRECOVERY | TF_FASTRECOVERY)
#define EXIT_RECOVERY(t_flags) t_flags &= ~(TF_CONGRECOVERY | TF_FASTRECOVERY)
-#if defined(_KERNEL) && !defined(TCP_RFC7413)
+#if defined(_KERNEL)
+#if !defined(TCP_RFC7413)
#define IS_FASTOPEN(t_flags) (false)
#else
#define IS_FASTOPEN(t_flags) (t_flags & TF_FASTOPEN)
#endif
+#endif
#define BYTES_THIS_ACK(tp, th) (th->th_ack - tp->snd_una)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 9:05 AM (6 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31733170
Default Alt Text
D44349.id135723.diff (576 B)
Attached To
Mode
D44349: netinet/tcp_var.h: always define IS_FASTOPEN() for kernel compilation env
Attached
Detach File
Event Timeline
Log In to Comment