[dpdk-dev] [PATCH] net/ice: fix memzone leak when firmware is missing

David Marchand david.marchand at redhat.com
Tue Jul 6 15:50:35 CEST 2021


On Tue, Jul 6, 2021 at 2:53 PM Wang, Haiyue <haiyue.wang at intel.com> wrote:
> > In such a case a single label should be enough, right?
>
> Yes, since pf->proto_xtr = NULL can be 'freed' safely.

Ah ok, I thought proto_xtr was initialised earlier and I had missed
the ice_pf_sw_init() call.
I'll go with your suggestion.
Thanks.


-- 
David Marchand



More information about the dev mailing list