Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Remove KASSERT (revert in6.c,v 1.232)
details: https://anonhg.NetBSD.org/src/rev/079b02362985
branches: trunk
changeset: 350679:079b02362985
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Jan 16 08:26:30 2017 +0000
description:
Remove KASSERT (revert in6.c,v 1.232)
We don't need it (it's harmless though).
diffstat:
sys/netinet6/in6.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 3c0c94afbb29 -r 079b02362985 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c Mon Jan 16 08:18:11 2017 +0000
+++ b/sys/netinet6/in6.c Mon Jan 16 08:26:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.c,v 1.234 2017/01/16 07:33:36 ryo Exp $ */
+/* $NetBSD: in6.c,v 1.235 2017/01/16 08:26:30 ozaki-r Exp $ */
/* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.234 2017/01/16 07:33:36 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.235 2017/01/16 08:26:30 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1776,8 +1776,6 @@
{
struct ifaddr *best_ifa = NULL, *ifa;
- KASSERT(ifp != NULL);
-
IFADDR_READER_FOREACH(ifa, ifp) {
if (ifa->ifa_addr->sa_family != AF_INET6)
continue;
Home |
Main Index |
Thread Index |
Old Index