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? > Signed-off-by: Hou Tao <houtao1@xxxxxxxxxx> Sebastian