Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Get rid of extra ifafree
details: https://anonhg.NetBSD.org/src/rev/0f6f01309569
branches: trunk
changeset: 346578:0f6f01309569
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Jul 20 07:56:10 2016 +0000
description:
Get rid of extra ifafree
It was wrongly imported from FreeBSD.
diffstat:
sys/netinet6/in6.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f5d9484e94a6 -r 0f6f01309569 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c Wed Jul 20 07:37:51 2016 +0000
+++ b/sys/netinet6/in6.c Wed Jul 20 07:56:10 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.c,v 1.210 2016/07/20 07:37:51 ozaki-r Exp $ */
+/* $NetBSD: in6.c,v 1.211 2016/07/20 07:56:10 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.210 2016/07/20 07:37:51 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.211 2016/07/20 07:56:10 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2325,7 +2325,6 @@
/* XXX ifaof_ifpforaddr should take a const param */
ifa = ifaof_ifpforaddr(l3addr, ifp);
if (ifa != NULL) {
- ifafree(ifa);
if (rt != NULL)
rtfree(rt);
return 0;
Home |
Main Index |
Thread Index |
Old Index