From: Nithin Nayak Sujir Date: Mon, 14 Jan 2013 17:10:59 +0000 (+0000) Subject: tg3: Avoid null pointer dereference in tg3_interrupt in netconsole mode X-Git-Tag: v3.8-rc6~20^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c13cb8bb477a83b9a3c9e5a5478a4e21294a760;p=pandora-kernel.git tg3: Avoid null pointer dereference in tg3_interrupt in netconsole mode When netconsole is enabled, logging messages generated during tg3_open can result in a null pointer dereference for the uninitialized tg3 status block. Use the irq_sync flag to disable polling in the early stages. irq_sync is cleared when the driver is enabling interrupts after all initialization is completed. Signed-off-by: Nithin Nayak Sujir Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed