From owner-cvs-all@FreeBSD.ORG Thu Jun 24 18:00:52 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6685416A4CE; Thu, 24 Jun 2004 18:00:52 +0000 (GMT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D790743D31; Thu, 24 Jun 2004 18:00:50 +0000 (GMT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id UAA27727; Thu, 24 Jun 2004 20:00:06 +0200 (CEST) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.10/8.12.10) with ESMTP id i5OHpIfK008520; Thu, 24 Jun 2004 19:51:18 +0200 (MET DST) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.10/8.12.10/Submit) id i5OHpI98008519; Thu, 24 Jun 2004 19:51:18 +0200 (MET DST) (envelope-from j) Date: Thu, 24 Jun 2004 19:51:18 +0200 From: Joerg Wunsch To: Maxim Konovalov Message-ID: <20040624195118.A8130@uriah.heep.sax.de> References: <20040624123337.AB9E416A4E9@hub.freebsd.org> <20040624190739.U18540@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20040624190739.U18540@mp2.macomnet.net>; from maxim@FreeBSD.org on Thu, Jun 24, 2004 at 07:08:42PM +0400 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GnuPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 X-Spam-Status: No, hits=-29.3 required=7.5 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_ethersubr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 18:00:52 -0000 As Maxim Konovalov wrote: > kern/46961 Ah. I didn't look into GNATS at all, but rather started debugging it myself. ;-) > I had a workaround for ages but never completed it, thanks! After seeing the code responsible for it, it became very obvious to me that the most simple workaround for it was to say "ifconfig ... promisc" on both hardware ethernet interfaces involved. This sets the IFF_PPROMISC flag, which in turn will cause the respective code to not throw the packet away. Seeing it working after this workaround was my final clue that I'm on the right track in my way to fix it. ;-) (The interfaces are in promiscuous mode already anyway, so no harm done by additionally requesting promiscuous mode directly via ifconfig.) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)