Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 Don't try to get outif unnecessarily from in6_s...



details:   https://anonhg.NetBSD.org/src/rev/737c75a15d77
branches:  trunk
changeset: 345310:737c75a15d77
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed May 18 08:40:51 2016 +0000

description:
Don't try to get outif unnecessarily from in6_selectsrc

The got outif is unused.

diffstat:

 sys/netinet6/icmp6.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fe586e532f05 -r 737c75a15d77 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Wed May 18 07:59:30 2016 +0000
+++ b/sys/netinet6/icmp6.c      Wed May 18 08:40:51 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.c,v 1.185 2016/05/17 03:27:02 ozaki-r Exp $      */
+/*     $NetBSD: icmp6.c,v 1.186 2016/05/18 08:40:51 ozaki-r Exp $      */
 /*     $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.185 2016/05/17 03:27:02 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.186 2016/05/18 08:40:51 ozaki-r Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2061,7 +2061,7 @@
                sockaddr_in6_init(&sin6, &ip6->ip6_dst, 0, 0, 0);
 
                memset(&ro, 0, sizeof(ro));
-               src = in6_selectsrc(&sin6, NULL, NULL, &ro, NULL, &outif, &e);
+               src = in6_selectsrc(&sin6, NULL, NULL, &ro, NULL, NULL, &e);
                rtcache_free(&ro);
                if (src == NULL) {
                        nd6log(LOG_DEBUG,



Home | Main Index | Thread Index | Old Index