commit | 96e31adf8d73f10bd2b616a17bd8af0d53e9da33 | [log] [tgz] |
---|---|---|
author | Rasesh Mody <rmody@brocade.com> | Tue Dec 17 17:07:38 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 18 00:30:34 2013 -0500 |
tree | 1465a56068a7fdc123b2be2142e4f67cbe4466d3 | |
parent | 17a30a14db09dfe9d3302f8a2d50571b0d94b144 [diff] |
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 <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>