[ovs-dev] [PATCH] tnl-neigh-cache: check for arp expiration.
Ben Pfaff
blp at ovn.org
Fri May 6 16:23:52 UTC 2016
On Mon, Apr 25, 2016 at 03:58:33PM -0700, Pravin B Shelar wrote:
> The neighbor entry expiry is only checked in dpif-poll
> event handler, But in absence of any event we could keep
> using arp entry forever. This patch changes it to check
> expiration on each lookup.
>
> Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
I guess an alternative would be to introduce a "wait" function to make
sure that expiration happens more expeditiously, but this seems fine
too.
The locking in this module seems a little heavy-handed given that we're
using a cmap.
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list