[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f603a18a-20d3-59d1-ac6a-6967e7823497@redhat.com>
Date: Tue, 10 Aug 2021 10:30:51 -0400
From: Jonathan Toppins <jtoppins@...hat.com>
To: Tony Nguyen <anthony.l.nguyen@...el.com>, davem@...emloft.net,
kuba@...nel.org
Cc: Anirudh Venkataramanan <anirudh.venkataramanan@...el.com>,
netdev@...r.kernel.org,
Konrad Jankowski <konrad0.jankowski@...el.com>
Subject: Re: [PATCH net 2/4] ice: Stop processing VF messages during teardown
On 8/9/21 1:14 PM, Tony Nguyen wrote:
> From: Anirudh Venkataramanan <anirudh.venkataramanan@...el.com>
>
> When VFs are setup and torn down in quick succession, it is possible
> that a VF is torn down by the PF while the VF's virtchnl requests are
> still in the PF's mailbox ring. Processing the VF's virtchnl request
> when the VF itself doesn't exist results in undefined behavior. Fix
> this by adding a check to stop processing virtchnl requests when VF
> teardown is in progress.
>
> Fixes: ddf30f7ff840 ("ice: Add handler to configure SR-IOV")
> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@...el.com>
> Tested-by: Konrad Jankowski <konrad0.jankowski@...el.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@...el.com>
Assuming only the commit message is fixed up.
Tested-by: Jonathan Toppins <jtoppins@...hat.com>
Powered by blists - more mailing lists