summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/efx.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-11-21 20:11:47 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-12-12 23:07:24 +0100
commitf72848021d603846be8aed662bd23372c7d6688e (patch)
tree0f00651fea224462fdc224b97fa0240507d599bd /drivers/net/ethernet/sfc/efx.h
parentsfc: Don't refer to 'stack' in filter implementation (diff)
downloadlinux-f72848021d603846be8aed662bd23372c7d6688e.tar.xz
linux-f72848021d603846be8aed662bd23372c7d6688e.zip
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: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.h')
0 files changed, 0 insertions, 0 deletions