Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 22:50:11 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349475 - head/sys/kern
Message-ID:  <201906272250.x5RMoBmk014580@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906272250.x5RMoBmk014580>