Re: [PATCH] cfg80211: clear cfg80211_inform_bss() from kmemleak reports

From: Johannes Berg
Date: Thu Sep 03 2009 - 14:17:47 EST

On Thu, 2009-09-03 at 11:13 -0700, Luis R. Rodriguez wrote:

> What I meant is it gobbles it up and spits another thing out. When it
> gobbles it up the routine then uses kref_put().
> > Why can it not track this?
> It probably can, just not sure if it follows kref_put(), I was under
> the impression here it doesn't and because of it we were getting false
> positives. Catalin, can you confirm?

Ah I'd think that if it can't track it then that's because we use a
pointer to the middle of the struct to keep track of it much of the


Attachment: signature.asc
Description: This is a digitally signed message part