Module Name: src Committed By: ozaki-r Date: Thu Dec 7 10:05:42 UTC 2017
Modified Files: src/sys/net: if.c Log Message: Get rid of outdated comments To generate a diff of this commit: cvs rdiff -u -r1.408 -r1.409 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.408 src/sys/net/if.c:1.409 --- src/sys/net/if.c:1.408 Thu Dec 7 03:16:24 2017 +++ src/sys/net/if.c Thu Dec 7 10:05:42 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.408 2017/12/07 03:16:24 ozaki-r Exp $ */ +/* $NetBSD: if.c,v 1.409 2017/12/07 10:05:42 ozaki-r 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.408 2017/12/07 03:16:24 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.409 2017/12/07 10:05:42 ozaki-r Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -3521,7 +3521,6 @@ if_addr_init(ifnet_t *ifp, struct ifaddr if (ifp->if_initaddr != NULL) rc = (*ifp->if_initaddr)(ifp, ifa, src); else if (src || - /* FIXME: may not hold if_ioctl_lock */ (rc = (*ifp->if_ioctl)(ifp, SIOCSIFDSTADDR, ifa)) == ENOTTY) rc = (*ifp->if_ioctl)(ifp, SIOCINITIFADDR, ifa); @@ -3590,7 +3589,6 @@ if_flags_set(ifnet_t *ifp, const short f memset(&ifr, 0, sizeof(ifr)); ifr.ifr_flags = flags & ~IFF_CANTCHANGE; - /* FIXME: may not hold if_ioctl_lock */ rc = (*ifp->if_ioctl)(ifp, SIOCSIFFLAGS, &ifr); if (rc != 0 && cantflags != 0)