[<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