Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 temporary workaround against GIF NUD issue (whe...



details:   https://anonhg.NetBSD.org/src/rev/68d69deabd48
branches:  trunk
changeset: 485401:68d69deabd48
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Apr 27 00:33:47 2000 +0000

description:
temporary workaround against GIF NUD issue (when you configure globals
onto GIF, NUD prevents packet from going out)
KAME PR 245.  From: Andreas Wrede <andreas%planix.com@localhost>

diffstat:

 sys/netinet6/nd6.c |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 3311e87cc54f -r 68d69deabd48 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Thu Apr 27 00:30:51 2000 +0000
+++ b/sys/netinet6/nd6.c        Thu Apr 27 00:33:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.c,v 1.27 2000/04/19 07:13:03 itojun Exp $  */
+/*     $NetBSD: nd6.c,v 1.28 2000/04/27 00:33:47 itojun Exp $  */
 /*     $KAME: nd6.c,v 1.56 2000/04/19 06:17:43 itojun Exp $    */
 
 /*
@@ -173,7 +173,15 @@
        ND.reachable = ND_COMPUTE_RTIME(ND.basereachable);
        ND.retrans = RETRANS_TIMER;
        ND.receivedra = 0;
+#if 1
+       /* XXX temporary workaround */
+       if (ifp->if_flags & IFF_POINTOPOINT)
+               ND.flags = 0;
+       else
+               ND.flags = ND6_IFF_PERFORMNUD;
+#else
        ND.flags = ND6_IFF_PERFORMNUD;
+#endif
        nd6_setmtu(ifp);
 #undef ND
 }



Home | Main Index | Thread Index | Old Index