Source-Changes-HG archive

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

[src/trunk]: src/sys/net tentative fix for ATF(net/if_bridge/t_bridge)



details:   https://anonhg.NetBSD.org/src/rev/054936050381
branches:  trunk
changeset: 816179:054936050381
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Mon Jun 20 07:23:56 2016 +0000

description:
tentative fix for ATF(net/if_bridge/t_bridge)

diffstat:

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

diffs (27 lines):

diff -r 9bef93635f36 -r 054936050381 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c       Mon Jun 20 07:13:07 2016 +0000
+++ b/sys/net/if_bridge.c       Mon Jun 20 07:23:56 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bridge.c,v 1.126 2016/06/20 07:06:06 knakahara Exp $        */
+/*     $NetBSD: if_bridge.c,v 1.127 2016/06/20 07:23:56 knakahara Exp $        */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.126 2016/06/20 07:06:06 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.127 2016/06/20 07:23:56 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_bridge_ipf.h"
@@ -1428,8 +1428,6 @@
        struct bridge_softc *sc;
        int s;
 
-       KASSERT(ifp->if_extflags & IFEF_OUTPUT_MPSAFE);
-
        if (m->m_len < ETHER_HDR_LEN) {
                m = m_pullup(m, ETHER_HDR_LEN);
                if (m == NULL)



Home | Main Index | Thread Index | Old Index