From nobody Mon May 09 17:55:12 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 689091AD8E40; Mon, 9 May 2022 17:55:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxpjX6JXjz4st8; Mon, 9 May 2022 17:55:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+oERnV2aWIyvRnQL5bKzPlIrxSG4/Jo6SpDJIRfk/B4=; b=JStEF0MDn5QCUp8u2oM4llMPc2iXC7QOejrMOKjnlpFQ8nREApnoi9VHltvhd8bhWWOpNi 1ONMvkAqkmr9VinFuizGtNrp7XdxgYMmFwOkLjspMH1wTMtEu/zhhnzgu+s+qhuqlajljR p06DjECCJyiQZTLqqwKMyAG2jYUSGZHU2Ce4kZAwCQ8tyExidwWeiLaQclt4QOhX6ykgq5 yIKR5JxLU2zcae3r7oBEIqu7Z3n+SyU0n077aLho/ABrkLm1BXpkB4y4bAlcmpGnLdPT88 SS8cercF5FI3Y4b9lm5IW5Id07pb05oTxqY2nUv5KliiNezah6gNOCH7E0FFPg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 889E7157EB; Mon, 9 May 2022 17:55:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 249HtCXx061227; Mon, 9 May 2022 17:55:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249HtCrm061226; Mon, 9 May 2022 17:55:12 GMT (envelope-from git) Date: Mon, 9 May 2022 17:55:12 GMT Message-Id: <202205091755.249HtCrm061226@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 7db54446c60e - main - sockbufs: make sbrelease_internal() private List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7db54446c60eeef7b774f9a8e8b3ddbfb086be1a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652118913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+oERnV2aWIyvRnQL5bKzPlIrxSG4/Jo6SpDJIRfk/B4=; b=LlWqqCUcoI1UFdkwRXw1KxhbKlpxAGaY5gJ6bt10zeElxtiHoDVCEVxn4C+/jSsgTX9l8E jeBHj5LnlokNjKFbzOJYkiIg9C0KNrewmtKC146pNXPri+F6xW/e0/WMAs10tn9hUBdRIE ru5N0fGaBBsDUxQZX0R+82OYrNTPp5wHjPFAj9KyW4ZZ30s6UXTdY/LZ4gTuSTawq/s7+q f4SxBEy8hTNR8sYL/DynIBpYjQM8umVoR6dqxCkE3S2MbWgd1ybwND8FTRbcCO4VV6YINO ioVkfs6zxh2yxc2frKJLArL4FuCfHT+fz9T8ybGNRcVOP6BeoElX+rp59Sz4tQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652118913; a=rsa-sha256; cv=none; b=t8AvZLSHYYkz/nEez2DtWSfsk+bgdos/3sPTIzGGZxainb/oZnEgEjxgN05k4ItA5WB0n5 3rkq4Ei1xc8ug+P8Qg9mUyiChCWfd2U1p/HeGx7J0D1FAg6CaqIsWgvgHybZu+KW442LT+ niuA4cdrc44FcXkgkx2dXEzkpuKzcvec8Xev76RIzOamt+lnVf6+O0TyZLeRJ6Yimc0tEQ l8iqV11dicKzWr58wksST7RPWv2kXqW/Z5Yr1oyBxdNuqZm84qL21zF71stO3FqnVN/mGT fryWyO68StIdllxK1OHlf8tkFhWe7rIo1r0CeJ7zv6YIhgxAkTQdHFd8lb8tAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7db54446c60eeef7b774f9a8e8b3ddbfb086be1a commit 7db54446c60eeef7b774f9a8e8b3ddbfb086be1a Author: Gleb Smirnoff AuthorDate: 2022-05-09 17:43:01 +0000 Commit: Gleb Smirnoff CommitDate: 2022-05-09 17:43:01 +0000 sockbufs: make sbrelease_internal() private --- sys/kern/uipc_sockbuf.c | 2 +- sys/sys/sockbuf.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 80505dd4dbd2..5ac6c79a928f 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -710,7 +710,7 @@ sbsetopt(struct socket *so, int cmd, u_long cc) /* * Free mbufs held by a socket, and reserved mbuf space. */ -void +static void sbrelease_internal(struct sockbuf *sb, struct socket *so) { diff --git a/sys/sys/sockbuf.h b/sys/sys/sockbuf.h index ef323bf59da7..372f04eba54c 100644 --- a/sys/sys/sockbuf.h +++ b/sys/sys/sockbuf.h @@ -172,7 +172,6 @@ void sbdroprecord_locked(struct sockbuf *sb); void sbflush(struct sockbuf *sb); void sbflush_locked(struct sockbuf *sb); void sbrelease(struct sockbuf *sb, struct socket *so); -void sbrelease_internal(struct sockbuf *sb, struct socket *so); void sbrelease_locked(struct sockbuf *sb, struct socket *so); int sbsetopt(struct socket *so, int cmd, u_long cc); int sbreserve_locked(struct sockbuf *sb, u_long cc, struct socket *so,