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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140410125902.GA25069@gondor.apana.org.au>
Date:	Thu, 10 Apr 2014 20:59:02 +0800
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	David Laight <David.Laight@...LAB.COM>
Cc:	Stephen Hemminger <stephen@...workplumber.org>,
	"David S. Miller" <davem@...emloft.net>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH 2/2] macvlan: Move broadcasts into a work queue

On Wed, Apr 09, 2014 at 10:10:16AM +0000, David Laight wrote:
> From: Herbert Xu
> ...
> > This patch picks the second option and moves all broadcast handling
> > bar the trivial case of packets going to a single interface into
> > a work queue.  Obviously there also needs to be a limit on how
> > many broadcast packets we postpone in this way.  I've arbitrarily
> > chosen tx_queue_len of the master device as the limit (act_mirred
> > also happens to use this parameter in a similar way).
> > 
> > In order to ensure we don't exceed the backlog queue we will use
> > netif_rx_ni instead of netif_rx for broadcast packets.
> 
> Should you limit the number of broadcasts queued for transmit
> on each interface as well as the number of postponed broadcasts.
> 
> It probably isn't a good idea to completely fill an interface's
> transmit queue with broadcasts.

These are *received* packets so I don't see how they're going
to fill up the transmit queues.

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