Module Name:    src
Committed By:   ozaki-r
Date:           Wed Jul 20 07:56:10 UTC 2016

Modified Files:
        src/sys/netinet6: in6.c

Log Message:
Get rid of extra ifafree

It was wrongly imported from FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/sys/netinet6/in6.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/netinet6/in6.c
diff -u src/sys/netinet6/in6.c:1.210 src/sys/netinet6/in6.c:1.211
--- src/sys/netinet6/in6.c:1.210	Wed Jul 20 07:37:51 2016
+++ src/sys/netinet6/in6.c	Wed Jul 20 07:56:10 2016
@@ -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 @@ in6_lltable_rtcheck(struct ifnet *ifp,
 		/* 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;

Reply via email to