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>] [day] [month] [year] [list]
Message-Id: <20220314012627.2339943-1-jiasheng@iscas.ac.cn>
Date:   Mon, 14 Mar 2022 09:26:27 +0800
From:   Jiasheng Jiang <jiasheng@...as.ac.cn>
To:     kuba@...nel.org
Cc:     3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        Jiasheng Jiang <jiasheng@...as.ac.cn>
Subject: Re: [PATCH] atm: eni: Add check for dma_map_single

On Sat, 12 Mar 2022 15:04:38 +0800 Jakub Kicinski wrote:
>> +	if (dma_mapping_error(&eni_dev->pci_dev->dev, paddr))
>> +		return enq_jam;
> 
> Probably better to drop the packet if mapping fails.

Thanks, I will submit a v2 changing to "enq_jam".

Jiang

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ