summaryrefslogtreecommitdiff
path: root/lib/crc16.c
diff options
context:
space:
mode:
authorNithin Nayak Sujir <nsujir@broadcom.com>2013-01-14 17:10:59 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-14 22:09:29 -0500
commit9c13cb8bb477a83b9a3c9e5a5478a4e21294a760 (patch)
treeb4c51e4204a72e8b108aeb3ae96046427ed220df /lib/crc16.c
parent47fb3a26e2f07a734876915bedc1053021fec860 (diff)
downloadlinux-3.10-9c13cb8bb477a83b9a3c9e5a5478a4e21294a760.tar.gz
linux-3.10-9c13cb8bb477a83b9a3c9e5a5478a4e21294a760.tar.bz2
linux-3.10-9c13cb8bb477a83b9a3c9e5a5478a4e21294a760.zip
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 <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions