From nobody Wed Jan 19 14:23:47 2022 X-Original-To: dev-commits-src-branches@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 425011971EA0; Wed, 19 Jan 2022 14:23:48 +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 4Jf7DN09Vpz3PSH; Wed, 19 Jan 2022 14:23:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642602228; 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=AbcX7nuIpPjhOx7362dTMcXsrNVTI8zwbwclihZRSSE=; b=Pizm7l27ZA8NiIIv+D6/pJ3bItScMsh2L5BQda1mq2GllkK2v/iw+KRXTa+YCGhK3N1JBw E4AyaHyUPofT28X7wnMqCEqZ876GmgfdUeolL9SlGyG6aXeJpAauMF/OoT26BqtUAXA0Gv t4zf020dpcy8cu/dKPlOGt2a55+MdljGFHJ1APcQ5DCHgkGUlCB6TuUyOtgWi6LgerLYke Jj9s+0Y3i0FzMZsSOxUcNQh+IQVA2fdG/TFx6K0pRWRrc+KZhp3m9NkeZNFcHI3KMuoxxN 8BnTtGhPnVANohvJpWzviJLai2/+RjyZfu4wcLrV+MKIjepPuKe9gl6VUEFoeQ== 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 DAB1716735; Wed, 19 Jan 2022 14:23:47 +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 20JENlAS010612; Wed, 19 Jan 2022 14:23:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20JENlVu010611; Wed, 19 Jan 2022 14:23:47 GMT (envelope-from git) Date: Wed, 19 Jan 2022 14:23:47 GMT Message-Id: <202201191423.20JENlVu010611@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 957bd5c5a120 - stable/12 - ipfilter: Correct function description List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 957bd5c5a1201d8eff90e6201f086b32f27ba73b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642602228; 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=AbcX7nuIpPjhOx7362dTMcXsrNVTI8zwbwclihZRSSE=; b=W0voRQf1Inq1et4C3fmNtpsiX8Ubc3FclsJzJP3KnPpuSK6VoAvcPXIwqGPnEcWGeGnFd3 seJ/Jgb2stJ+MQu9THdaO2VrqyHNIVVYENdgfBmTrY6jzGIZ3vyGiAvp9RxT3b0FgPw4W+ qU8e4BwTvzf+vGseFi0DisGxr+aKjlxtN+TtPKT4jMhxkVp+6yGhSdzCl9NsB2Q0CKj0YR GHQKrv+AaVHJ04mowvdddq1CoYcDuBh4fVmQeKSTX9ifxQieKkliUQmswut4gVsxhKlIoB uQ8pmItFZwCAdGYI1fg95VYOUtFCQrwqg/gIkTAaeKWu2Iyzz4hKhC51sWqEbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642602228; a=rsa-sha256; cv=none; b=eY2+vJRMI5uzAJZ+0W8ZRS/QNqD8EzHwVJjX5KGWC62m9dSGt0G2eulRlqrIlSQnJ5iX3g yIvF83e86jGuvMuQ+oB4Bng2vmIW4IB2u9hyCWheo+t8ykZcTbCJ5fNsWy5EJnXU/ExuM7 hAPoo43SATDR2NlsV7NlcOG5fjaAm3Wtnlk73sxfhaBJ7Uhoi3guoppoMzAb03tVKcwOmf P+LQ6QTHW7/dG/pIRFz0HBbtjd7xQ3tEEl1VIkab5yRB0/qd2LGfI9zLkVU5G4TXVH/54L LmBxwlaxdBxqWkPUPM8vAXT8cTsRMOtTVnxSoVTc3ZOKzadTJ85yfdVAOE+ffA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=957bd5c5a1201d8eff90e6201f086b32f27ba73b commit 957bd5c5a1201d8eff90e6201f086b32f27ba73b Author: Cy Schubert AuthorDate: 2022-01-11 23:02:09 +0000 Commit: Cy Schubert CommitDate: 2022-01-19 14:23:16 +0000 ipfilter: Correct function description Correct the parameters descriptions for ipf_fix_outcksum and ipf_fix_incksum. (cherry picked from commit 4b5c0c9b813160842b942a4e978d482e8a7d3f7e) --- sys/contrib/ipfilter/netinet/ip_nat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c index 3fe092277776..bfb6335b36d9 100644 --- a/sys/contrib/ipfilter/netinet/ip_nat.c +++ b/sys/contrib/ipfilter/netinet/ip_nat.c @@ -871,9 +871,10 @@ ipf_nat_hostmapdel(softc, hmp) /* ------------------------------------------------------------------------ */ /* Function: ipf_fix_outcksum */ /* Returns: Nil */ -/* Parameters: fin(I) - pointer to packet information */ +/* Parameters: cksum(I) - ipf_cksum_t, value of fin_cksum */ /* sp(I) - location of 16bit checksum to update */ /* n((I) - amount to adjust checksum by */ +/* partial(I) - partial checksum */ /* */ /* Adjusts the 16bit checksum by "n" for packets going out. */ /* ------------------------------------------------------------------------ */ @@ -912,9 +913,10 @@ ipf_fix_outcksum(cksum, sp, n, partial) /* ------------------------------------------------------------------------ */ /* Function: ipf_fix_incksum */ /* Returns: Nil */ -/* Parameters: fin(I) - pointer to packet information */ +/* Parameters: cksum(I) - ipf_cksum_t, value of fin_cksum */ /* sp(I) - location of 16bit checksum to update */ /* n((I) - amount to adjust checksum by */ +/* partial(I) - partial checksum */ /* */ /* Adjusts the 16bit checksum by "n" for packets going in. */ /* ------------------------------------------------------------------------ */