Skip to content
Snippets Groups Projects
Commit 50a749c1 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

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
9b2c2ff7 "mv643xx_eth: use sw csum for big packets"

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f89f5d0e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment