Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Get rid of outdated comments
details: https://anonhg.NetBSD.org/src/rev/ba2efcbe9eb4
branches: trunk
changeset: 357994:ba2efcbe9eb4
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Dec 07 10:05:42 2017 +0000
description:
Get rid of outdated comments
diffstat:
sys/net/if.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 4cbe4a45a876 -r ba2efcbe9eb4 sys/net/if.c
--- a/sys/net/if.c Thu Dec 07 09:37:33 2017 +0000
+++ b/sys/net/if.c Thu Dec 07 10:05:42 2017 +0000
@@ -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 (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 @@
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)
Home |
Main Index |
Thread Index |
Old Index