lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 11 Apr 2014 09:59:06 +0800 From: Herbert Xu <herbert@...dor.apana.org.au> To: David Miller <davem@...emloft.net> Cc: greearb@...delatech.com, eric.dumazet@...il.com, netdev@...r.kernel.org Subject: Re: [PATCH 2/2] macvlan: Move broadcasts into a work queue On Thu, Apr 10, 2014 at 09:40:23PM -0400, David Miller wrote: > From: Herbert Xu <herbert@...dor.apana.org.au> > Date: Wed, 9 Apr 2014 01:23:49 +0800 > > > On Tue, Apr 08, 2014 at 09:48:40AM -0700, Ben Greear wrote: > >> > >> At least for ARPs, maybe we could inspect the packet and only > >> deliver to interfaces configured with the MAC that is being > >> ARPed for (or ones that are in promisc)? > > > > Yes this would definitely be a great optimisation. > > Yes and you can use the direct rather than the workqueue path. This would be a worthy optimisation for bridge.c too. In fact, I wonder if it would be possible to share some of the broadcast/ multicast logic between macvlan and bridge. Cheers, -- Email: Herbert Xu <herbert@...dor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists