On 23 Oct 2022, at 6:58, [email protected] wrote:
> From: Lin Huang <[email protected]>
>
> After user add a static fdb entry, the get_lru() function will always return
> the static fdb entry. That's normal fdb entries will not age out through
> mac_learning_run().
>
> Fix the issue by modify the get_lru() function to check the entry->expires
> field and
> not return the entry which entry->expires is MAC_ENTRY_AGE_STATIC_ENTRY.
>
> Adding a unit test for this.
>
> Fixes: ccc24fc88d59 ("ofproto-dpif: APIs and CLI option to add/delete static
> fdb entry.")
> Tested-by: Zhang Yuhuang <[email protected]>
> Signed-off-by: Lin Huang <[email protected]>
Thanks for fixing the nit!
Acked-by: Eelco Chaudron <[email protected]>
Cheers,
Eelco
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev