From: David Miller <davem@davemloft.net>
To: mchan@broadcom.com
Cc: netdev@vger.kernel.org, nsujir@broadcom.com
Subject: Re: [PATCH 1/2 net] tg3: Avoid null pointer dereference in tg3_interrupt in netconsole mode
Date: Mon, 14 Jan 2013 22:09:40 -0500 (EST) [thread overview]
Message-ID: <20130114.220940.967320497069734116.davem@davemloft.net> (raw)
In-Reply-To: <1358219460-5993-1-git-send-email-mchan@broadcom.com>
From: "Michael Chan" <mchan@broadcom.com>
Date: Mon, 14 Jan 2013 19:10:59 -0800
> From: Nithin Nayak Sujir <nsujir@broadcom.com>
>
> 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>
Applied.
next prev parent reply other threads:[~2013-01-15 3:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 3:10 [PATCH 1/2 net] tg3: Avoid null pointer dereference in tg3_interrupt in netconsole mode Michael Chan
2013-01-15 3:09 ` David Miller [this message]
2013-01-15 3:11 ` [PATCH 2/2 net] tg3: Fix crc errors on jumbo frame receive Michael Chan
2013-01-15 3:09 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130114.220940.967320497069734116.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=nsujir@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).