Skip to content
Commit f7284802 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Allow filter removal only with exactly matching priority



Currently a higher priority client can remove a lower priority
client's filter with equal match-expression.  This might happen if (a)
the higher priority client has a double-free bug, or (b) another
client with sufficient priority replaced and then removed an equal
filter, allowing the low priority client to insert an equal filter.

In neither case does it actually make sense to carry out the removal;
we should say the filter doesn't exist, as the filter currently
present is not the one that the high-priority client is referring to.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent b59e6ef8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment