aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-06-27 22:50:11 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2019-06-27 22:50:11 +0000
commit1db2626a9b449db8ededf7ad5687f504c3ffc64e (patch)
treedd027f3b12bcfa9e3e787e77155e159b0d9c7cc0 /sys/kern/uipc_socket.c
parent6b69072acc25efddad12be41761b773dcd6f468b (diff)
downloadsrc-1db2626a9b449db8ededf7ad5687f504c3ffc64e.tar.gz
src-1db2626a9b449db8ededf7ad5687f504c3ffc64e.zip
Fix comment in sofree() to reference sbdestroy().
r160875 added sbdestroy() as a wrapper around sbrelease_internal to be called from sofree(), yet the comment added in the same revision to sofree() still mentions sbrelease_internal(). Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20488
Notes
Notes: svn path=/head/; revision=349475
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index e38f8c06bbb3..05be168e8a84 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1044,7 +1044,7 @@ sofree(struct socket *so)
*
* We used to do a lot of socket buffer and socket locking here, as
* well as invoke sorflush() and perform wakeups. The direct call to
- * dom_dispose() and sbrelease_internal() are an inlining of what was
+ * dom_dispose() and sbdestroy() are an inlining of what was
* necessary from sorflush().
*
* Notice that the socket buffer and kqueue state are torn down