mirror of
https://github.com/systemd/systemd.git
synced 2026-08-07 08:30:57 +00:00
Fix some typos in socket-util.h
This commit is contained in:
@@ -29,7 +29,7 @@ union sockaddr_union {
|
||||
/* The libc provided version that allocates "enough room" for every protocol */
|
||||
struct sockaddr_storage storage;
|
||||
|
||||
/* Protoctol-specific implementations */
|
||||
/* Protocol-specific implementations */
|
||||
struct sockaddr_in in;
|
||||
struct sockaddr_in6 in6;
|
||||
struct sockaddr_un un;
|
||||
@@ -390,7 +390,7 @@ int socket_address_parse_unix(SocketAddress *ret_address, const char *s);
|
||||
int socket_address_parse_vsock(SocketAddress *ret_address, const char *s);
|
||||
|
||||
/* libc's SOMAXCONN is defined to 128 or 4096 (at least on glibc). But actually, the value can be much
|
||||
* larger. In our codebase we want to set it to the max usually, since noawadays socket memory is properly
|
||||
* larger. In our codebase we want to set it to the max usually, since nowadays socket memory is properly
|
||||
* tracked by memcg, and hence we don't need to enforce extra limits here. Moreover, the kernel caps it to
|
||||
* /proc/sys/net/core/somaxconn anyway, thus by setting this to unbounded we just make that sysctl file
|
||||
* authoritative. */
|
||||
|
||||
Reference in New Issue
Block a user