From owner-freebsd-bugs Tue May 30 1:10: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 742BC37BD79 for ; Tue, 30 May 2000 01:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA62605; Tue, 30 May 2000 01:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from inet-tsb.toshiba.co.jp (inet-tsb.toshiba.co.jp [202.33.96.40]) by hub.freebsd.org (Postfix) with ESMTP id 2C91C37B9AE for ; Tue, 30 May 2000 01:03:05 -0700 (PDT) (envelope-from tateoka@clary.pdcd.ilab.toshiba.co.jp) Received: from tis2.tis.toshiba.co.jp (tis2 [133.199.160.66]) by inet-tsb.toshiba.co.jp (3.7W:TOSHIBA-ISC-2000030918) with ESMTP id RAA28575 for ; Tue, 30 May 2000 17:02:50 +0900 (JST) Received: from mx2.toshiba.co.jp by tis2.tis.toshiba.co.jp (8.8.4+2.7Wbeta4/3.3W9-95082317) id RAA09237; Tue, 30 May 2000 17:02:50 +0900 (JST) Received: from clary.pdcd.ilab.toshiba.co.jp by toshiba.co.jp (8.7.1+2.6Wbeta4/3.3W9-TOSHIBA-GLOBAL SERVER) id RAA25599; Tue, 30 May 2000 17:02:41 +0900 (JST) Received: (from tateoka@localhost) by clary.pdcd.ilab.toshiba.co.jp (8.9.3/8.9.3) id RAA00358; Tue, 30 May 2000 17:05:38 +0900 (JST) (envelope-from tateoka) Message-Id: <200005300805.RAA00358@clary.pdcd.ilab.toshiba.co.jp> Date: Tue, 30 May 2000 17:05:38 +0900 (JST) From: tateoka@yasai.forus.or.jp Reply-To: tateoka@yasai.forus.or.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/18899: if_vr.c can't bridging properly when bpf is opened. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18899 >Category: kern >Synopsis: if_vr.c can't bridging properly when bpf is opened. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 30 01:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Masamichi Tateoka >Release: FreeBSD 4.0-RELEASE i386 >Organization: A Site ForUs. >Environment: FreeBSD machine with 2 VIA-chip LAN-card >Description: Bridging does not work properly when bpf is opened. in vr_rxeof() ( if_vr.c ) When bpf is opened, a packet to other machines is not passed to only the ether_input but also bridging code. >How-To-Repeat: Enable BRIDGE option in the kernel and enable sysctl -w net.link.ether.bridge=1 then, open bpf ( for example, use tcpdump ) >Fix: delete checking eh->ether_dhost code in BPF code and BRIDGE code. and put it just before the ether_input(ifp, eh, m); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message