From: Stefan Richter Date: Sun, 24 Feb 2008 17:57:23 +0000 (+0100) Subject: firewire: potentially invalid pointers used in fw_card_bm_work X-Git-Tag: v2.6.25-rc4~123^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15803478fdea964e5f76079851fcd13068208d5d;p=pandora-kernel.git firewire: potentially invalid pointers used in fw_card_bm_work The bus management workqueue job was in danger to dereference NULL pointers. Also, after having temporarily lifted card->lock, a few node pointers and a device pointer may have become invalid. Add NULL pointer checks and get the necessary references. Also, move card->local_node out of fw_card_bm_work's sight during shutdown of the card. Signed-off-by: Stefan Richter Signed-off-by: Jarod Wilson --- Reading git-diff-tree failed