Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2021 05:46:07 GMT
From:      Wojciech Macek <wma@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c27214f0afa5 - main - ipsec: fix typo in comment
Message-ID:  <202109270546.18R5k7vE014789@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wma:

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

commit c27214f0afa526b9545dc7509e409e81978bf873
Author:     Wojciech Macek <wma@FreeBSD.org>
AuthorDate: 2021-09-27 05:45:33 +0000
Commit:     Wojciech Macek <wma@FreeBSD.org>
CommitDate: 2021-09-27 05:45:33 +0000

    ipsec: fix typo in comment
---
 sys/netipsec/ipsec_output.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c
index 9beb5c47444f..230e316ea77d 100644
--- a/sys/netipsec/ipsec_output.c
+++ b/sys/netipsec/ipsec_output.c
@@ -344,7 +344,7 @@ setdf:
 	if (m_length(m, NULL) + hlen > pmtu) {
 		/*
 		 * If we're forwarding generate ICMP message here,
-		 * so that it contains pmtu substraced by header size.
+		 * so that it contains pmtu subtraced by header size.
 		 * Set error to EINPROGRESS, in order for the frame
 		 * to be dropped silently.
 		 */
@@ -738,7 +738,7 @@ ipsec6_check_pmtu(struct mbuf *m, struct secpolicy *sp, int forwarding)
 	if (m_length(m, NULL) + hlen > pmtu) {
 		/*
 		 * If we're forwarding generate ICMPv6 message here,
-		 * so that it contains pmtu substracted by header size.
+		 * so that it contains pmtu subtracted by header size.
 		 * Set error to EINPROGRESS, in order for the frame
 		 * to be dropped silently.
 		 */



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