On 11/18/2024 9:13 PM, Sebastian Andrzej Siewior wrote: > On 2024-11-18 09:08:02 [+0800], Hou Tao wrote: >> From: Hou Tao <houtao1@xxxxxxxxxx> >> >> When a LPM trie is full, in-place updates of existing elements >> incorrectly return -ENOSPC. >> >> Fix this by deferring the check of trie->n_entries. For new insertions, >> n_entries must not exceed max_entries. However, in-place updates are >> allowed even when the trie is full. > This and the previous patch look like a fix to an existing problem. > Shouldn't both have a fixes tag? Will add in v2. Thanks for the suggestion. > >> Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx> > Sebastian