netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: AndyLiebman@aol.com
To: herbert@gondor.apana.org.au, yoshfuji@linux-ipv6.org
Cc: terryg@axian.com, netdev@oss.sgi.com, davem@davemloft.net,
	akpm@osdl.org, AndyLiebman@aol.com
Subject: Re: Frequent Oops on Shutdown 2.6.10
Date: Wed, 23 Feb 2005 09:51:44 EST	[thread overview]
Message-ID: <b9.522b6602.2f4df280@aol.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

 
Hello, Yoshi
 
Should I bother to apply this patch, or should I wait for you to make this  
last change? What did you think about my comment that the Oops only occurred  
when the Ethernet cable had been unplugged during operation? 
 
Regards, 
Andy Liebman

On Wed,  Feb 23, 2005 at 06:35:55PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@  
wrote:
> 
> What do you think of this?

Thanks, this looks  great.  There is just one technical detail
to patch up.

>  -int snmp6_unregister_dev(struct inet6_dev *idev)
> +int  snmp6_free_dev(struct inet6_dev *idev)
>  {
>     snmp6_mib_free((void **)idev->stats.icmpv6);
>     return 0;
>  }

You need to check whether icmpv6[0] is  NULL either here or in
snmp6_mib_free.  Otherwise when snmp6_alloc_dev  fails we'll
wind up here and then call free_percpu on a pair of NULL  pointers.

Cheers,
-- 
Visit Openswan at  http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~}  <herbert@gondor.apana.org.au>
Home Page:  http://gondor.apana.org.au/~herbert/
PGP Key:  http://gondor.apana.org.au/~herbert/pubkey.txt





[-- Attachment #2: Type: text/html, Size: 1989 bytes --]

             reply	other threads:[~2005-02-23 14:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-23 14:51 AndyLiebman [this message]
2005-02-23 16:43 ` Frequent Oops on Shutdown 2.6.10 YOSHIFUJI Hideaki / 吉藤英明
  -- strict thread matches above, loose matches on Subject: below --
2005-02-28 22:25 AndyLiebman
2005-02-23 14:53 AndyLiebman
2005-02-22 23:30 AndyLiebman
2005-02-22 14:14 AndyLiebman
2005-02-21  6:03 Fw: " Andrew Morton
2005-02-21  7:22 ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-21  7:29   ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-22  9:57     ` Herbert Xu
2005-02-22 10:15       ` Herbert Xu
2005-02-23  9:35         ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-23  9:51           ` Herbert Xu
2005-02-23 16:41             ` YOSHIFUJI Hideaki / 吉藤英明
2005-02-23 22:48               ` Herbert Xu
2005-02-24  4:17                 ` David S. 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=b9.522b6602.2f4df280@aol.com \
    --to=andyliebman@aol.com \
    --cc=akpm@osdl.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@oss.sgi.com \
    --cc=terryg@axian.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).