netfilter: nft_set_pipapo: Separate partial and complete overlap cases on insertion

...and return -ENOTEMPTY to the front-end on collision, -EEXIST if
an identical element already exists. Together with the previous patch,
element collision will now be returned to the user as -EEXIST.

Reported-by: Phil Sutter <>
Signed-off-by: Stefano Brivio <>
Signed-off-by: Pablo Neira Ayuso <>
1 file changed