Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Mark packets from gre as coming from appropriate...



details:   https://anonhg.NetBSD.org/src/rev/3218b729b6f8
branches:  trunk
changeset: 498364:3218b729b6f8
user:      mjl <mjl%NetBSD.org@localhost>
date:      Fri Oct 20 20:43:26 2000 +0000

description:
Mark packets from gre as coming from appropriate gre interface, not
transport interface.

diffstat:

 sys/netinet/ip_gre.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9b7c3c893bf4 -r 3218b729b6f8 sys/netinet/ip_gre.c
--- a/sys/netinet/ip_gre.c      Fri Oct 20 18:59:53 2000 +0000
+++ b/sys/netinet/ip_gre.c      Fri Oct 20 20:43:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_gre.c,v 1.13 2000/08/25 00:51:20 mjl Exp $ */
+/*     $NetBSD: ip_gre.c,v 1.14 2000/10/20 20:43:26 mjl Exp $ */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -224,6 +224,8 @@
                }
 #endif /*NBPFILTER > 0*/
 
+       m->m_pkthdr.rcvif = &sc->sc_if;
+
        s = splimp();           /* possible */
        if (IF_QFULL(ifq)) {
                IF_DROP(ifq);



Home | Main Index | Thread Index | Old Index