From: Rasesh Mody Date: Wed, 18 Dec 2013 01:07:38 +0000 (-0800) Subject: bna: Add NULL Check Before Dereferencing TCB X-Git-Tag: v3.14-rc1~94^2~466^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e31adf8d73f10bd2b616a17bd8af0d53e9da33;p=pandora-kernel.git bna: Add NULL Check Before Dereferencing TCB Currently we already check to see whether the BNAD_TXQ_TX_STARTED cleared. But if the tcb structure which contains this flag is also already freed by that time, we would dereference the NULL pointer. This patch is to check tcb for NULL pointer, before dereferencing it. Signed-off-by: Rasesh Mody Signed-off-by: David S. Miller --- Reading git-diff-tree failed