Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2022 09:40:43 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1a15a383a6b1 - main - net: Fix a typo in a source code comment
Message-ID:  <202204090940.2399ehHL020160@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer):

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

commit 1a15a383a6b14a58479097de95b3ed11770cdf2b
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 09:37:57 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 09:37:57 +0000

    net: Fix a typo in a source code comment
    
    - s/peform/perform/
    
    MFC after:      3 days
---
 sys/net/if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net/if.c b/sys/net/if.c
index f43c1597c413..ff7071cea364 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -669,7 +669,7 @@ if_free(struct ifnet *ifp)
 	 * Why would we clear the alias now, and not in the deferred
 	 * context?  Indeed there is nothing wrong with some network
 	 * thread obtaining ifp via ifnet_byindex() inside the network
-	 * epoch and then dereferencing ifp while we peform if_free(),
+	 * epoch and then dereferencing ifp while we perform if_free(),
 	 * and after if_free() finished, too.
 	 *
 	 * This early index freeing was important back when ifindex was



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