TCP: no-op SO_NO_CHECK

This commit is contained in:
Matheus
2026-05-23 11:10:12 -03:00
parent 208a83880e
commit 09c202bb91
+2
View File
@@ -1846,6 +1846,7 @@ static int tcp_setopt(socket_t *socket, int layer, int optname, void *buffer, so
case SO_SNDLOWAT:
case SO_OOBINLINE:
case SO_KEEPALIVE:
case SO_NO_CHECK:
case SO_SNDBUF:
case SO_RCVBUF:
case SO_REUSEADDR:
@@ -1893,6 +1894,7 @@ static int tcp_getopt(socket_t *socket, int layer, int optname, void *unsafe_buf
case SO_OOBINLINE:
case SO_KEEPALIVE:
case SO_REUSEADDR:
case SO_NO_CHECK:
return USERCOPY_POSSIBLY_MEMSET_TO_USER(unsafe_buffer, 0, len);
case SO_SNDBUF:
case SO_RCVBUF: {