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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 29 Aug 2019 15:52:51 -0700
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     Shannon Nelson <snelson@...sando.io>
Cc:     netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH v6 net-next 07/19] ionic: Add basic adminq support

On Thu, 29 Aug 2019 11:27:08 -0700, Shannon Nelson wrote:
> +static void ionic_lif_qcq_deinit(struct ionic_lif *lif, struct ionic_qcq *qcq)
> +{
> +	struct ionic_dev *idev = &lif->ionic->idev;
> +	struct device *dev = lif->ionic->dev;
> +
> +	if (!qcq)
> +		return;
> +
> +	ionic_debugfs_del_qcq(qcq);
> +
> +	if (!(qcq->flags & IONIC_QCQ_F_INITED))
> +		return;
> +
> +	if (qcq->flags & IONIC_QCQ_F_INTR) {
> +		ionic_intr_mask(idev->intr_ctrl, qcq->intr.index,
> +				IONIC_INTR_MASK_SET);
> +		synchronize_irq(qcq->intr.vector);
> +		devm_free_irq(dev, qcq->intr.vector, &qcq->napi);

Doesn't free_irq() basically imply synchronize_irq()?

> +		netif_napi_del(&qcq->napi);
> +	}
> +
> +	qcq->flags &= ~IONIC_QCQ_F_INITED;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ