git: 27f33d90b721 - stable/13 - ipfilter: Correct function description

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 14:21:26 UTC
The branch stable/13 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=27f33d90b721be3c5e35bcaf71de9826c27b0c59

commit 27f33d90b721be3c5e35bcaf71de9826c27b0c59
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-11 23:02:09 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-01-19 14:19:24 +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 4415ef60caa9..2bf5b9608987 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.                  */
 /* ------------------------------------------------------------------------ */