From: David Miller <davem@davemloft.net>
To: k-keiichi@bx.jp.nec.com
Cc: mpm@selenic.com, satyam.sharma@gmail.com,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
shemminger@linux-foundation.org
Subject: Re: [PATCH] netconsole: avoid null pointer dereference at show_local_mac()
Date: Fri, 15 Feb 2008 02:02:12 -0800 (PST) [thread overview]
Message-ID: <20080215.020212.202401321.davem@davemloft.net> (raw)
In-Reply-To: <47B55F4C.5080703@bx.jp.nec.com>
From: Keiichi KII <k-keiichi@bx.jp.nec.com>
Date: Fri, 15 Feb 2008 18:45:48 +0900
> This patch avoids a null pointer dereference when we read local_mac
> for netconsole in configfs and shows default local mac address
> value.
>
> A null pointer dereference occurs when we call show_local_mac() via
> local_mac entry in configfs before we setup the content of netpoll
> using netpoll_setup().
>
> This patch is for 2.6.25-rc1.
> Your comments are very welcome.
>
> Signed-off-by: Keiichi KII <k-keiichi@bx.jp.nec.com>
Patch applied, thank you.
prev parent reply other threads:[~2008-02-15 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 9:45 [PATCH] netconsole: avoid null pointer dereference at show_local_mac() Keiichi KII
2008-02-15 10:02 ` David Miller [this message]
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=20080215.020212.202401321.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=k-keiichi@bx.jp.nec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=netdev@vger.kernel.org \
--cc=satyam.sharma@gmail.com \
--cc=shemminger@linux-foundation.org \
/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