fix typo: lenght -> length in netlink comment

Signed-off-by: Felipe Matarazzo <felipemps@protonmail.com>
Reviewed-by: ngie
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2174
This commit is contained in:
Felipe Matarazzo
2026-04-29 13:14:35 -03:00
committed by Enji Cooper
parent 713332b4eb
commit e1841a50d6
+1 -1
View File
@@ -724,7 +724,7 @@ nl_soreceive(struct socket *so, struct sockaddr **psa, struct uio *uio,
* least one message, we would return it and won't truncate the next.
*
* We use same code for normal and MSG_PEEK case. At first queue pass
* we scan nl_bufs and count lenght. In case we can read entire buffer
* we scan nl_bufs and count length. In case we can read entire buffer
* at one write everything is trivial. In case we can not, we save
* pointer to the last (or partial) nl_buf and in the !peek case we
* split the queue into two pieces. We can safely drop the queue lock,