svn commit: r349475 - head/sys/kern

John Baldwin jhb at FreeBSD.org
Thu Jun 27 22:50:12 UTC 2019


Author: jhb
Date: Thu Jun 27 22:50:11 2019
New Revision: 349475
URL: https://svnweb.freebsd.org/changeset/base/349475

Log:
  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

Modified:
  head/sys/kern/uipc_socket.c

Modified: head/sys/kern/uipc_socket.c
==============================================================================
--- head/sys/kern/uipc_socket.c	Thu Jun 27 22:34:05 2019	(r349474)
+++ head/sys/kern/uipc_socket.c	Thu Jun 27 22:50:11 2019	(r349475)
@@ -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


More information about the svn-src-head mailing list