All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira <pablo@eurodev.net>
To: Krzysztof Oledzki <olenf@ans.pl>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: nfnetlink/ctnetlink - OOPS&panic
Date: Tue, 19 Apr 2005 14:04:06 +0200	[thread overview]
Message-ID: <4264F3B6.9010408@eurodev.net> (raw)
In-Reply-To: <Pine.LNX.4.62.0504191220390.27543@bizon.gios.gov.pl>

Krzysztof Oledzki wrote:
> Hello,
> 
> I have just compiled 2.6.11.7 kernel with nfnetlink/ctnetlink support 
> (from pom-ng-20050418). Unfortunately, during system startup, kernel 
> panics:
> 
> Unable to handle kernel NULL pointer dereference at virtual address 
> 000000b3
>  printing eip:
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT
> Modules linked in: bonding

You've catch a race condition.

Since you've compiled nfnetlink and ctnetlink in kernel, not as module, 
it seems that ctnetlink registers the subsystem via 
nfnetlink_subsys_register before nfnetlink has created the netlink 
socket. Then you've received an event that has been sent to a 
non-existing netlink socket. I can cook an oops with that.

I'll fix it as soon as I get some spare time.

--
Pablo

  reply	other threads:[~2005-04-19 12:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 10:31 nfnetlink/ctnetlink - OOPS&panic Krzysztof Oledzki
2005-04-19 12:04 ` Pablo Neira [this message]
2005-04-19 13:39   ` Krzysztof Oledzki
2005-04-19 14:11     ` Amin Azez
2005-04-19 15:04   ` Krzysztof Oledzki

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=4264F3B6.9010408@eurodev.net \
    --to=pablo@eurodev.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=olenf@ans.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.