diff options
author | Sudheer Mogilappagari <sudheer.mogilappagari@intel.com> | 2023-11-29 11:23:11 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-12-27 10:07:11 -0800 |
commit | 3e48041d9820c17e0a51599d12e66c6e12a8d08d (patch) | |
tree | 29a2a0c4222f6cc378817852e454b3e26da0cc5e /kernel/bpf/arraymap.c | |
parent | 8278a6a43d030a3aa8d7768148e74844331e39e3 (diff) |
i40e: Fix filter input checks to prevent config with invalid values
Prevent VF from configuring filters with unsupported actions or use
REDIRECT action with invalid tc number. Current checks could cause
out of bounds access on PF side.
Fixes: e284fc280473 ("i40e: Add and delete cloud filter")
Reviewed-by: Andrii Staikov <andrii.staikov@intel.com>
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions