From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lennert Buytenhek Subject: Re: [patch -next v2] mv643xx_eth: potential null dereference Date: Fri, 23 Jul 2010 13:18:18 +0200 Message-ID: <20100723111818.GV21121@mail.wantstofly.org> References: <20100723101528.GF26313@bicker> <1279881177.24768.1623.camel@Joe-Laptop.home> <20100723110504.GG26313@bicker> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Joe Perches , "David S. Miller" , Jiri Pirko , Denis Kirjanov , Saeed Bishara , netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter Return-path: Received: from fw.wantstofly.org ([80.101.37.227]:41262 "EHLO mail.wantstofly.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752628Ab0GWLSW (ORCPT ); Fri, 23 Jul 2010 07:18:22 -0400 Content-Disposition: inline In-Reply-To: <20100723110504.GG26313@bicker> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Jul 23, 2010 at 01:05:05PM +0200, Dan Carpenter wrote: > We assume that "pd" can be null on the previous line, and throughout the > function so we should check it here as well. This was introduced by > 9b2c2ff7a1c0 "mv643xx_eth: use sw csum for big packets" > > Signed-off-by: Dan Carpenter Acked-by: Lennert Buytenhek