On Sat, Jan 02, 2016 at 04:04:33PM +0100, Mark Kettenis wrote:
> > Date: Sat, 2 Jan 2016 10:57:41 +0100
> > From: Martin Pieuchot <m...@openbsd.org>
> > 
> > If it's acceptable performance-wise to do the check unconditionally I
> > believe that's the way to go.  If not I'm a bit afraid of introducing
> > a flag/capability for a single driver.  Do you know if any other driver
> > could use it?
> 
> I suppose any paravirtualized network driver would need this; i.e. my
> sun4v vnet(4) driver and the xen stuff mikeb@ is working on.
> 

Shouldn't all these interfaces have the PROMISC flag set all the time
instead? They seem to be always promiscous since they don't have a HW mac
address filter. Doing that would solve the problem in a simple way
(special ioctl handling per driver).

-- 
:wq Claudio

Reply via email to