Source-Changes-HG archive

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

[src/trunk]: src/sys/net Add missing IFEF_NO_LINK_STATE_CHANGE to bridge



details:   https://anonhg.NetBSD.org/src/rev/211540e851d1
branches:  trunk
changeset: 357596:211540e851d1
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Nov 17 07:52:07 2017 +0000

description:
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 d38a632a18ba -r 211540e851d1 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Fri Nov 17 07:42:29 2017 +0000
+++ b/sys/net/if_bridge.c       Fri Nov 17 07:52:07 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.140 2017/11/16 03:07:18 ozaki-r Exp $  */
+/*     $NetBSD: if_bridge.c,v 1.141 2017/11/17 07:52:07 ozaki-r Exp $  */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.140 2017/11/16 03:07:18 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.141 2017/11/17 07:52:07 ozaki-r 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_MPSAFE;
+       ifp->if_extflags = IFEF_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