kern/109815: wrong interface identifier at pfil_hooks for vlans
+ if_bridge
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Mon Mar 12 09:24:15 UTC 2007
Bruce, good day!
Tue, Mar 06, 2007 at 04:00:10PM +0000, Bruce M. Simpson wrote:
> Eygene Ryabinkin wrote:
> >I am awfully sorry, but you're seem to be mistaken:
> Thanks for clarifying this. That'll be because I didn't read if_bridge that
> far. ;^) In my original message I was just looking at if_ethersubr.c.
>
> I need to make sure any changes which are made to if_bridge to deal with vlan
> problems are incorporated into bms_netdev so that after I commit M_PROMISC, it
> does the right thing.
OK, after discuissing the problem for a while, Roman Kurakin (rik@)
decided to modify my patch: it will not just blindly rewriting the
interface in the mbuf, but will apply an extra check for the physical
incoming interface before checking the other bridge members. So
it will hopefully do no harm to anything that was worked before and
will cure the problem I spotted.
Speaking about vlan problems: the original problem is to do something
with VLAN interfaces only because they are sharing the MAC of their
physical parent. The problem itself is not VLAN-specific -- if there
will be two physical interfaces with the same MACs and they will be
bridged, the problem will still be here.
Will drop you a letter when the patch will be ready.
--
Eygene
More information about the freebsd-net
mailing list