[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230105104517.79cd83ed@kernel.org>
Date: Thu, 5 Jan 2023 10:45:17 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Mateusz Palczewski <mateusz.palczewski@...el.com>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
leon@...nel.org
Subject: Re: [PATCH net v2] ice: Fix deadlock on the rtnl_mutex
On Thu, 5 Jan 2023 07:05:18 -0500 Mateusz Palczewski wrote:
> ret = ice_vsi_alloc_q_vectors(vsi);
> - if (ret)
> - goto err_rings;
> + if (ret){
> + ice_vsi_clear_rings(vsi);
> + goto err_reset;
> + }
>
> ret = ice_vsi_setup_vector_base(vsi);
> if (ret)
Why do cases which jump to err_vectors no need any changes?
Powered by blists - more mailing lists