Module Name:    src
Committed By:   rillig
Date:           Wed Aug 17 19:56:28 UTC 2022

Modified Files:
        src/sys/net: if.c

Log Message:
if.c: fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.511 -r1.512 src/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if.c
diff -u src/sys/net/if.c:1.511 src/sys/net/if.c:1.512
--- src/sys/net/if.c:1.511	Fri Jul 29 15:24:28 2022
+++ src/sys/net/if.c	Wed Aug 17 19:56:28 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.511 2022/07/29 15:24:28 skrll Exp $	*/
+/*	$NetBSD: if.c,v 1.512 2022/08/17 19:56:28 rillig Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.511 2022/07/29 15:24:28 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.512 2022/08/17 19:56:28 rillig Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -1867,7 +1867,7 @@ ifa_remove(struct ifnet *ifp, struct ifa
 	KASSERT(ifa->ifa_ifp == ifp);
 	/*
 	 * Check MP-safety for IFEF_MPSAFE drivers.
-	 * if_is_deactivated indicates ifa_remove is called fromm if_detach
+	 * if_is_deactivated indicates ifa_remove is called from if_detach
 	 * where it is safe even if IFNET_LOCK isn't held.
 	 */
 	KASSERT(!if_is_mpsafe(ifp) || if_is_deactivated(ifp) || IFNET_LOCKED(ifp));

Reply via email to