Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147182548
D32454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
791 B
Referenced Files
None
Subscribers
None
D32454.diff
View Options
diff --git a/sys/compat/linux/linux_socket.h b/sys/compat/linux/linux_socket.h
--- a/sys/compat/linux/linux_socket.h
+++ b/sys/compat/linux/linux_socket.h
@@ -314,6 +314,7 @@
#define LINUX_TCP_KEEPIDLE 4
#define LINUX_TCP_KEEPINTVL 5
#define LINUX_TCP_KEEPCNT 6
+#define LINUX_TCP_INFO 11
#define LINUX_TCP_MD5SIG 14
#endif /* _LINUX_SOCKET_H_ */
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -574,6 +574,10 @@
return (TCP_KEEPINTVL);
case LINUX_TCP_KEEPCNT:
return (TCP_KEEPCNT);
+ case LINUX_TCP_INFO:
+ LINUX_RATELIMIT_MSG_OPT1(
+ "unsupported TCP socket option TCP_INFO (%d)", opt);
+ return (-2);
case LINUX_TCP_MD5SIG:
return (TCP_MD5SIG);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 9, 10:11 PM (13 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29460476
Default Alt Text
D32454.diff (791 B)
Attached To
Mode
D32454: linux: recognize TCP_INFO and ratelimit the warning
Attached
Detach File
Event Timeline
Log In to Comment