[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250826163316.GD5892@horms.kernel.org>
Date: Tue, 26 Aug 2025 17:33:16 +0100
From: Simon Horman <horms@...nel.org>
To: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org,
Tony Nguyen <anthony.l.nguyen@...el.com>, netdev@...r.kernel.org,
Greg KH <gregkh@...uxfoundation.org>, jeremiah.kyle@...el.com,
leszek.pepiak@...el.com, Lukasz Czapnik <lukasz.czapnik@...el.com>,
Aleksandr Loktionov <aleksandr.loktionov@...el.com>
Subject: Re: [PATCH iwl-net 5/8] i40e: fix validation of VF state in get
resources
On Wed, Aug 13, 2025 at 12:45:15PM +0200, Przemek Kitszel wrote:
> From: Lukasz Czapnik <lukasz.czapnik@...el.com>
>
> 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")
I suspect this could be
Fixes: 5c3c48ac6bf5 ("i40e: implement virtual device interface")
But I guess that either way is fine.
> Cc: stable@...r.kernel.org
> Signed-off-by: Lukasz Czapnik <lukasz.czapnik@...el.com>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@...el.com>
> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists