[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171117140623.GA5809@lunn.ch>
Date: Fri, 17 Nov 2017 15:06:23 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Willy Tarreau <w@....eu>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
Vincent Bernat <bernat@...fy.cx>, Sarah Newman <srn@...mr.com>,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>,
netdev@...r.kernel.org, roopa <roopa@...ulusnetworks.com>
Subject: Re: [PATCH] net: bridge: add max_fdb_count
> 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
Powered by blists - more mailing lists