Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/netinet6 Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/5d7b5398ed82
branches:  netbsd-7
changeset: 799330:5d7b5398ed82
user:      snj <snj%NetBSD.org@localhost>
date:      Fri May 15 03:58:06 2015 +0000

description:
Pull up following revision(s) (requested by joerg in ticket #770):
        sys/netinet6/scope6.c: revision 1.10
Drop impossible check.

diffstat:

 sys/netinet6/scope6.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 1f73ae3b9720 -r 5d7b5398ed82 sys/netinet6/scope6.c
--- a/sys/netinet6/scope6.c     Fri May 15 03:54:39 2015 +0000
+++ b/sys/netinet6/scope6.c     Fri May 15 03:58:06 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scope6.c,v 1.9 2014/05/17 21:26:20 rmind Exp $ */
+/*     $NetBSD: scope6.c,v 1.9.2.1 2015/05/15 03:58:06 snj Exp $       */
 /*     $KAME$  */
 
 /*-
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scope6.c,v 1.9 2014/05/17 21:26:20 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scope6.c,v 1.9.2.1 2015/05/15 03:58:06 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -411,9 +411,6 @@
 
        scope = in6_addrscope(in6);
 
-       if (!sid->s6id_list)
-               return 0;
-
        switch (scope) {
        case IPV6_ADDR_SCOPE_INTFACELOCAL: /* should be interface index */
                zoneid = sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL];



Home | Main Index | Thread Index | Old Index