netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: frank.arnold@amd.com, shemminger@vyatta.com,
	yoshfuji@linux-ipv6.org, netdev@vger.kernel.org
Subject: Re: bridge br_multicast: BUG: unable to handle kernel NULL pointer dereference
Date: Mon, 05 Jul 2010 20:07:24 -0700 (PDT)	[thread overview]
Message-ID: <20100705.200724.45878250.davem@davemloft.net> (raw)
In-Reply-To: <20100706005008.GA11699@gondor.apana.org.au>

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Tue, 6 Jul 2010 08:50:08 +0800

> On Tue, Jul 06, 2010 at 08:48:35AM +0800, Herbert Xu wrote:
>> 
>> bridge: Restore NULL check in br_mdb_ip_get
> 
> Resend with proper attribution.
> 
> bridge: Restore NULL check in br_mdb_ip_get
> 
> Somewhere along the line the NULL check in br_mdb_ip_get went
> AWOL, causing crashes when we receive an IGMP packet with no
> multicast table allocated.

It got removed by:

--------------------
commit 8ef2a9a59854994bace13b5c4f7edc2c8d4d124e
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date:   Sun Apr 18 12:42:07 2010 +0900

    bridge br_multicast: Make functions less ipv4 dependent.
    
    Introduce struct br_ip{} to store ip address and protocol
    and make functions more generic so that we can support
    both IPv4 and IPv6 with less pain.
    
    Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
--------------------

> This patch restores it and ensures all br_mdb_*_get functions
> use it.
> 
> Reported-by: Frank Arnold <frank.arnold@amd.com>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Applied, thanks.

      reply	other threads:[~2010-07-06  3:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 19:05 bridge br_multicast: BUG: unable to handle kernel NULL pointer dereference Frank Arnold
2010-07-06  0:48 ` Herbert Xu
2010-07-06  0:50   ` Herbert Xu
2010-07-06  3:07     ` 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=20100705.200724.45878250.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=frank.arnold@amd.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    --cc=yoshfuji@linux-ipv6.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;
as well as URLs for NNTP newsgroup(s).