Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Make that note that we really should be checking...



details:   https://anonhg.NetBSD.org/src/rev/18125c1125d9
branches:  trunk
changeset: 494342:18125c1125d9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 05 21:32:51 2000 +0000

description:
Make that note that we really should be checking the viftable
in ip_mroute.c for duplicate tunnel entries, too.  Well, what
really needs to happen is that the mrouting code needs to be
changed to work w/ `gif' tunnels... but...

diffstat:

 sys/netinet/ip_encap.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 1a225830378f -r 18125c1125d9 sys/netinet/ip_encap.c
--- a/sys/netinet/ip_encap.c    Wed Jul 05 21:01:38 2000 +0000
+++ b/sys/netinet/ip_encap.c    Wed Jul 05 21:32:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_encap.c,v 1.2 2000/07/05 18:45:26 thorpej Exp $     */
+/*     $NetBSD: ip_encap.c,v 1.3 2000/07/05 21:32:51 thorpej Exp $     */
 /*     $KAME: ip_encap.c,v 1.30 2000/04/19 04:29:37 itojun Exp $       */
 
 /*
@@ -386,6 +386,12 @@
                goto fail;
        }
 
+       /*
+        * XXX NEED TO CHECK viftable IN THE ip_mroute CODE!!!
+        * XXX Actually, that code needs to be replaced with
+        * XXX new code that uses `gif' tunnels.
+        */
+
        ep = malloc(sizeof(*ep), M_NETADDR, M_NOWAIT);  /*XXX*/
        if (ep == NULL) {
                error = ENOBUFS;



Home | Main Index | Thread Index | Old Index