From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751456AbdAWRx0 (ORCPT ); Mon, 23 Jan 2017 12:53:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52200 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbdAWRxY (ORCPT ); Mon, 23 Jan 2017 12:53:24 -0500 Date: Mon, 23 Jan 2017 12:53:17 -0500 (EST) Message-Id: <20170123.125317.799337053139253880.davem@redhat.com> To: khoroshilov@ispras.ru Cc: ionut@badula.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org Subject: Re: [PATCH] net: adaptec: starfire: add checks for dma mapping errors From: David Miller In-Reply-To: <1484952744-9815-1-git-send-email-khoroshilov@ispras.ru> References: <1484952744-9815-1-git-send-email-khoroshilov@ispras.ru> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 23 Jan 2017 17:53:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexey Khoroshilov Date: Sat, 21 Jan 2017 01:52:24 +0300 > init_ring() and refill_rx_ring() don't check if mapping dma memory succeed. > The patch adds the checks and failure handling. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov The transmit side has the same exact problem, can you take care of both of them at the same time? Thanks.