Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/net Pull up following revision(s) (requested by ozaki...



details:   https://anonhg.NetBSD.org/src/rev/f306a01ce378
branches:  netbsd-8
changeset: 434432:f306a01ce378
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 23 13:34:24 2017 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #386):
        sys/net/if_bridge.c: revision 1.141
Add missing IFEF_NO_LINK_STATE_CHANGE to bridge

diffstat:

 sys/net/if_bridge.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r abcf5de2174b -r f306a01ce378 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Thu Nov 23 13:29:32 2017 +0000
+++ b/sys/net/if_bridge.c       Thu Nov 23 13:34:24 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.134.6.2 2017/11/23 02:13:31 snj Exp $  */
+/*     $NetBSD: if_bridge.c,v 1.134.6.3 2017/11/23 13:34:24 martin Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.134.6.2 2017/11/23 02:13:31 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.134.6.3 2017/11/23 13:34:24 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bridge_ipf.h"
@@ -424,7 +424,7 @@
 
        if_initname(ifp, ifc->ifc_name, unit);
        ifp->if_softc = sc;
-       ifp->if_extflags = IFEF_OUTPUT_MPSAFE;
+       ifp->if_extflags = IFEF_OUTPUT_MPSAFE | IFEF_NO_LINK_STATE_CHANGE;
        ifp->if_mtu = ETHERMTU;
        ifp->if_ioctl = bridge_ioctl;
        ifp->if_output = bridge_output;



Home | Main Index | Thread Index | Old Index