From: Dan Carpenter Date: Fri, 23 Jul 2010 01:05:05 +0000 (+0000) Subject: mv643xx_eth: potential null dereference X-Git-Tag: v2.6.36-rc1~571^2~110 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=50a749c1f2fc8f03232c174c9dbc78a78f9bebfd;hp=50a749c1f2fc8f03232c174c9dbc78a78f9bebfd mv643xx_eth: potential null dereference 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 Signed-off-by: David S. Miller ---