git: c27214f0afa5 - main - ipsec: fix typo in comment

Wojciech Macek wma at FreeBSD.org
Mon Sep 27 05:46:07 UTC 2021


The branch main has been updated by wma:

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

commit c27214f0afa526b9545dc7509e409e81978bf873
Author:     Wojciech Macek <wma at FreeBSD.org>
AuthorDate: 2021-09-27 05:45:33 +0000
Commit:     Wojciech Macek <wma at 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.
 		 */


More information about the dev-commits-src-main mailing list