Switching to 4.174.64.19 firmware for G-PHY cards?

Larry Finger Larry.Finger at lwfinger.net
Thu Mar 3 10:52:40 EST 2011


On 03/03/2011 01:55 AM, Rafał Miłecki wrote:
> 824 line is:
> [struct b43_dmaring *]ring = kzalloc(sizeof(*ring), GFP_KERNEL);
>
> Does anyone know why sometime we allocate 60b and sometimes 96b? It's
> always the same struct... :| Could be STA vs. AP related but... how? I
> don't see a way.

It depends on whether CONFIG_B43_DEBUG is defined.

As you hint at later, Chris's memory problem is not due to a direct allocation 
problem, but is due to indirect allocation of skb or some other type of buffer. 
Why they leak on his system, and not on mine is a puzzle.

Larry



More information about the b43-dev mailing list