lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 17 Sep 2020 11:44:11 +0800
From:   "luobin (L)" <luobin9@...wei.com>
To:     Wei Li <liwei391@...wei.com>,
        "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>
CC:     <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <huawei.libin@...wei.com>, <guohanjun@...wei.com>
Subject: Re: [PATCH] hinic: fix potential resource leak

On 2020/9/17 11:03, Wei Li wrote:
> +	err = irq_set_affinity_hint(rq->irq, &rq->affinity_mask);
> +	if (err)
> +		goto err_irq;
> +
> +	return 0;
> +
> +err_irq:
> +	rx_del_napi(rxq);
> +	return err;
If irq_set_affinity_hint fails, irq should be freed as well.

Powered by blists - more mailing lists