Date: Tue, 30 May 2000 17:05:38 +0900 (JST) From: tateoka@yasai.forus.or.jp To: FreeBSD-gnats-submit@freebsd.org Subject: kern/18899: if_vr.c can't bridging properly when bpf is opened. Message-ID: <200005300805.RAA00358@clary.pdcd.ilab.toshiba.co.jp>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005300805.RAA00358>
