Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/netinet Pullup 1.14 [mjl]:



details:   https://anonhg.NetBSD.org/src/rev/56c558e342a0
branches:  netbsd-1-5
changeset: 489967:56c558e342a0
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Oct 20 21:48:05 2000 +0000

description:
Pullup 1.14 [mjl]:
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 b0cfbddab106 -r 56c558e342a0 sys/netinet/ip_gre.c
--- a/sys/netinet/ip_gre.c      Fri Oct 20 20:00:30 2000 +0000
+++ b/sys/netinet/ip_gre.c      Fri Oct 20 21:48:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_gre.c,v 1.10.4.1 2000/08/25 01:13:26 mjl Exp $ */
+/*     $NetBSD: ip_gre.c,v 1.10.4.2 2000/10/20 21:48:05 tv Exp $ */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -223,6 +223,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