From: "Nish Aravamudan" <nish.aravamudan@gmail.com>
To: "Randy Dunlap" <randy.dunlap@oracle.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
NetDev <netdev@vger.kernel.org>,
chas@cmf.nrl.navy.mil
Subject: Re: atm: panic when loading clip 2nd time
Date: Tue, 16 Oct 2007 14:33:38 -0700 [thread overview]
Message-ID: <29495f1d0710161433h6e4e90a6r32c89c2a89af2f90@mail.gmail.com> (raw)
In-Reply-To: <47152758.5000900@oracle.com>
On 10/16/07, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> 2.6.23-git7, using SLAB (not SLUB) [config attached]:
>
> # modprobe clip
> # rmmod clip
> # modprobe clip
>
> results in panic:
>
> kmem_cache_create: duplicate cache clip_arp_cache
>
> Call Trace:
> [<ffffffff8028c682>] kmem_cache_create+0x3bf/0x3fd
> [<ffffffff8046ba1d>] neigh_table_init_no_netlink+0x6c/0x242
> [<ffffffff8800a010>] :clip:atm_clip_init+0x10/0x8a
> [<ffffffff80258ba4>] sys_init_module+0x146c/0x15cd
> [<ffffffff8046be0a>] neigh_lookup+0x0/0xd5
> [<ffffffff8020ef44>] syscall_trace_enter+0x95/0x99
> [<ffffffff8020beec>] tracesys+0xdc/0xe1
>
> Kernel panic - not syncing: kmem_cache_create(): failed to create slab `clip_arp_cache'
>From a quick read through the code, looks like
net/core/neighbour.c:neigh_table_clear() needs a kmem_cache_destroy()?
I only see three callers of neight_table_clear() and they all seem to
be in exit routines, so that should be safe?
-Nish
next prev parent reply other threads:[~2007-10-16 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-16 21:04 atm: panic when loading clip 2nd time Randy Dunlap
2007-10-16 21:33 ` Nish Aravamudan [this message]
2007-10-20 1:02 ` Randy Dunlap
2007-10-21 23:24 ` 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=29495f1d0710161433h6e4e90a6r32c89c2a89af2f90@mail.gmail.com \
--to=nish.aravamudan@gmail.com \
--cc=chas@cmf.nrl.navy.mil \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=randy.dunlap@oracle.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).