Subject: Re: [PATCH] net: bridge: add max_fdb_count

From: Andrew Lunn <[email-masked]>
Date: Fri, 17 Nov 2017 15:06:23 +0100

> Usually it's better to apply LRU or random here in my opinion, as the
> new entry is much more likely to be needed than older ones by definition.

Hi Willy

I think this depends on why you need to discard. If it is normal
operation and the limits are simply too low, i would agree.

If however it is a DoS, throwing away the new entries makes sense,
leaving the old ones which are more likely to be useful.

Most of the talk in this thread has been about limits for DoS
prevention...

	Andrew