On Wed, Jun 23, 2010 at 12:57 AM, Claudio Jeker <[email protected]> wrote: > > I think something like the attached version may be the best solution. > I don't like to do the bcmp() for every unicast packet since network cards > come with nice mac filters that make this superfluous. > From code inspection bridge(4) should handle this case correctly and > trunk(4) will behave better because of this. Then there is carp(4) and > vlan(4) which reenter ether_input(). Both should do the right thing > (vlan checks the flags and carp does a lookup based on the dest mac addr).
Ok. I'll apply that tomorrow morning. > In the end such a change needs a lot of testing. Is there anything specifically you want me to test? I was planning to do some performance testing anyway; the box is not in production and won't be for a few more weeks. Cheers, Patrick -- http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting
