Module Name:    src
Committed By:   jdolecek
Date:           Tue May  5 09:26:29 UTC 2020

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

Log Message:
adjust comment - sosetopt() path doesn't take IFNET_LOCK()


To generate a diff of this commit:
cvs rdiff -u -r1.476 -r1.477 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.476 src/sys/net/if.c:1.477
--- src/sys/net/if.c:1.476	Tue May  5 09:22:24 2020
+++ src/sys/net/if.c	Tue May  5 09:26:29 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.476 2020/05/05 09:22:24 jdolecek Exp $	*/
+/*	$NetBSD: if.c,v 1.477 2020/05/05 09:26:29 jdolecek 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.476 2020/05/05 09:22:24 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.477 2020/05/05 09:26:29 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -3794,7 +3794,7 @@ if_mcast_op(ifnet_t *ifp, const unsigned
 	/*
 	 * XXX NOMPSAFE - this calls if_ioctl without holding IFNET_LOCK()
 	 * in some cases - e.g. when called from vlan/netinet/netinet6 code
-	 * directly rather than via sockopt/doifoictl()
+	 * directly rather than via doifoictl()
 	 */
 	ifreq_setaddr(cmd, &ifr, sa);
 	rc = (*ifp->if_ioctl)(ifp, cmd, &ifr);

Reply via email to