diff options
| author | Lukasz Czapnik <[email protected]> | 2025-08-13 10:45:15 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-09-18 22:46:29 +0000 |
| commit | 877b7e6ffc23766448236e8732254534c518ba42 (patch) | |
| tree | 5d4c2c40b4eab7b15b98311fc12293404c86f06c /lib/xarray.c | |
| parent | i40e: fix input validation logic for action_meta (diff) | |
| download | kernel-877b7e6ffc23766448236e8732254534c518ba42.tar.gz kernel-877b7e6ffc23766448236e8732254534c518ba42.zip | |
i40e: fix validation of VF state in get resources
VF state I40E_VF_STATE_ACTIVE is not the only state in which
VF is actually active so it should not be used to determine
if a VF is allowed to obtain resources.
Use I40E_VF_STATE_RESOURCES_LOADED that is set only in
i40e_vc_get_vf_resources_msg() and cleared during reset.
Fixes: 61125b8be85d ("i40e: Fix failed opcode appearing if handling messages from VF")
Cc: [email protected]
Signed-off-by: Lukasz Czapnik <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: Przemek Kitszel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
