]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ssh-proxy: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 1 Jan 2026 19:30:55 +0000 (04:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 1 Jan 2026 19:30:58 +0000 (04:30 +0900)
Follow-up for dc3e544104218052664e2c6b08d1ae397e9a4faf.

src/ssh-generator/ssh-proxy.c

index f3810388efe64946b3297414619b544d42b1a0a9..db40c96063278610a3f0989c09e805cd96d6d214 100644 (file)
@@ -140,8 +140,8 @@ static int skip_ok_port_res(int fd, const char *path, const char *port) {
                                        because poll() returns readable as long as there is any data in the socket buffer for
                                        unix sockets, not respecting SO_RCVLOWAT.
 
-                                  XXX: We could have used SO_PEEK_OFF to continously peek more data without changing the socket
-                                       receive buffer, but this fucntion breaks since Linux 4.3 due to a kernel bug, which is fixed
+                                  XXX: We could have used SO_PEEK_OFF to continuously peek more data without changing the socket
+                                       receive buffer, but this function breaks since Linux 4.3 due to a kernel bug, which is fixed
                                        in Linux 6.18 commit 7bf3a476ce43 ("af_unix: Read sk_peek_offset() again after sleeping in
                                        unix_stream_read_generic()."). It is also not possible to detect whether the kernel is
                                        affected by this bug at runtime.