aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPiotr Gardocki <[email protected]>2023-08-07 14:46:04 +0000
committerTony Nguyen <[email protected]>2023-08-16 15:27:29 +0000
commit751969e5b1196821ef78f0aa664a8a97c92c9057 (patch)
tree9db7bedf348042cf5d8c5a66dc4a98738af5bff0 /tools/perf/scripts/python
parentMerge tag 'nf-23-08-16' of https://git.kernel.org/pub/scm/linux/kernel/git/ne... (diff)
downloadkernel-751969e5b1196821ef78f0aa664a8a97c92c9057.tar.gz
kernel-751969e5b1196821ef78f0aa664a8a97c92c9057.zip
iavf: fix FDIR rule fields masks validation
Return an error if a field's mask is neither full nor empty. When a mask is only partial the field is not being used for rule programming but it gives a wrong impression it is used. Fix by returning an error on any partial mask to make it clear they are not supported. The ip_ver assignment is moved earlier in code to allow using it in iavf_validate_fdir_fltr_masks. Fixes: 527691bf0682 ("iavf: Support IPv4 Flow Director filters") Fixes: e90cbc257a6f ("iavf: Support IPv6 Flow Director filters") Signed-off-by: Piotr Gardocki <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions