From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Matteo Croce <technoboy85@gmail.com>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
Johannes Berg <johannes@sipsolutions.net>,
Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [ath9k-devel] Possible memory leak in ath9k monitor mode injection
Date: Thu, 12 Nov 2009 14:28:31 -0800 [thread overview]
Message-ID: <20091112222831.GC17000@tux> (raw)
In-Reply-To: <40101cc30911121416o333f32c1h3e26b4cc988c243f@mail.gmail.com>
On Thu, Nov 12, 2009 at 02:16:09PM -0800, Matteo Croce wrote:
> On Thu, Nov 12, 2009 at 8:35 PM, Luis R. Rodriguez
> <lrodriguez@atheros.com> wrote:
> > On Thu, Nov 12, 2009 at 11:31 AM, Johannes Berg
> > <johannes@sipsolutions.net> wrote:
> >> On Thu, 2009-11-12 at 20:18 +0100, Matteo Croce wrote:
> >>
> >>> # echo scan >/sys/kernel/debug/kmemleak ; cat
> >>> /sys/kernel/debug/kmemleak
> >>> kmemleak: 197 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
> >>> unreferenced object 0xc5cfea80 (size 192):
> >>> comm "softirq", pid 0, jiffies 14191
> >>> backtrace:
> >>> [<ffffffff>] 0xffffffff
> >>
> >> that's kinda useless, can you run
> >
> > But if you insist on using kmemleak, try clearing the list
> >
> > echo clear > kmemleak
> >
> > Then scan
> >
> > echo scan > kmemleak
> >
> > then run your frame injection tests and then re-run scan.
> >
> > echo scan > kmemleak
> >
> > Then paste the output here.
> >
> > Luis
> >
>
> root@alix:/sys/kernel/debug# rmmod inject
> inject_exit Inject, exiting module
> root@alix:/sys/kernel/debug# echo clear > kmemleak
I forgot you're on 2.6.31, clear stuff was added to kmemleak for 2.6.32.
> root@alix:/sys/kernel/debug# echo scan >kmemleak
> kmemleak: 61037 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
> root@alix:/sys/kernel/debug# modprobe inject
> inject_init Inject, inserting module
> inject_init Inject, initializing the timer
> root@alix:/sys/kernel/debug# echo scan >kmemleak
> root@alix:/sys/kernel/debug# cat kmemleak
> unreferenced object 0xccd48e70 (size 64):
What's 0xccd48e70 and friends? Can you enable debugging on your kernel?
Luis
next prev parent reply other threads:[~2009-11-12 22:28 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-12 11:31 [ath9k-devel] Possible memory leak in ath9k monitor mode injection Lorenzo Bianconi
2009-11-12 11:31 ` Lorenzo Bianconi
2009-11-12 14:18 ` [ath9k-devel] " Matteo Croce
2009-11-12 14:18 ` Matteo Croce
2009-11-12 15:44 ` [ath9k-devel] " Luis R. Rodriguez
2009-11-12 15:44 ` Luis R. Rodriguez
2009-11-12 15:49 ` Luis R. Rodriguez
2009-11-12 15:49 ` Luis R. Rodriguez
2009-11-12 19:18 ` Matteo Croce
2009-11-12 19:31 ` Johannes Berg
2009-11-12 19:35 ` Luis R. Rodriguez
2009-11-12 19:36 ` Luis R. Rodriguez
2009-11-12 22:16 ` Matteo Croce
2009-11-12 22:28 ` Luis R. Rodriguez [this message]
2009-11-12 22:37 ` Matteo Croce
2009-11-12 22:58 ` Lorenzo Bianconi
2009-11-12 23:04 ` Matteo Croce
2009-11-13 7:06 ` Johannes Berg
2009-11-12 22:08 ` Matteo Croce
2009-11-12 22:18 ` Matteo Croce
2009-11-13 7:31 ` Johannes Berg
2009-11-13 8:55 ` Lorenzo Bianconi
2009-11-13 12:20 ` Matteo Croce
2009-11-14 2:13 ` Luis R. Rodriguez
2009-11-16 15:08 ` Matteo Croce
[not found] ` <0015174c1d0a8aa23304783ef2ae@google.com>
2009-11-13 14:42 ` R:Re: " Matteo Croce
2009-11-13 14:47 ` Johannes Berg
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=20091112222831.GC17000@tux \
--to=lrodriguez@atheros.com \
--cc=Luis.Rodriguez@Atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi83@gmail.com \
--cc=technoboy85@gmail.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 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.