Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Remove obsolete codes for if_snd
details: https://anonhg.NetBSD.org/src/rev/24b261d07191
branches: trunk
changeset: 330270:24b261d07191
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Jul 02 09:43:16 2014 +0000
description:
Remove obsolete codes for if_snd
diffstat:
sys/net/if_bridge.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r d7c22ee7e13c -r 24b261d07191 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c Wed Jul 02 07:30:37 2014 +0000
+++ b/sys/net/if_bridge.c Wed Jul 02 09:43:16 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bridge.c,v 1.84 2014/06/23 06:27:58 ozaki-r Exp $ */
+/* $NetBSD: if_bridge.c,v 1.85 2014/07/02 09:43:16 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.84 2014/06/23 06:27:58 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.85 2014/07/02 09:43:16 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_bridge_ipf.h"
@@ -376,7 +376,6 @@
ifp->if_addrlen = 0;
ifp->if_dlt = DLT_EN10MB;
ifp->if_hdrlen = ETHER_HDR_LEN;
- IFQ_SET_READY(&ifp->if_snd);
sc->sc_fwd_pktq = pktq_create(IFQ_MAXLEN, bridge_forward, sc);
KASSERT(sc->sc_fwd_pktq != NULL);
@@ -1225,8 +1224,6 @@
callout_stop(&sc->sc_brcallout);
bstp_stop(sc);
- IF_PURGE(&ifp->if_snd);
-
bridge_rtflush(sc, IFBF_FLUSHDYN);
ifp->if_flags &= ~IFF_RUNNING;
Home |
Main Index |
Thread Index |
Old Index