On Wed, Jan 24, 2024 at 02:05:55AM +0000, Mingjin Ye wrote:
> The "vsi" may be null, so it needs to be used after checking.
>
> Fixes: ab28aad9c24f ("net/iavf: fix Rx Tx burst in multi-process")
> Cc: [email protected]
>
> Signed-off-by: Mingjin Ye <[email protected]>
> ---
> drivers/net/iavf/iavf_rxtx.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
This looks safer with the checks this way.Acked-by: Bruce Richardson <[email protected]>

