Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 19:51:18 +0200
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        Maxim Konovalov <maxim@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_ethersubr.c
Message-ID:  <20040624195118.A8130@uriah.heep.sax.de>
In-Reply-To: <20040624190739.U18540@mp2.macomnet.net>; from maxim@FreeBSD.org on Thu, Jun 24, 2004 at 07:08:42PM %2B0400
References:  <20040624123337.AB9E416A4E9@hub.freebsd.org> <20040624190739.U18540@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040624195118.A8130>