Re: mac80211 truesize bugs

Johannes Berg
2008-05-01T10:59:13Z

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

On Thu, 2008-05-01 at 03:53 -0700, David Miller wrote:
> From: David Miller <davem@davemloft.net>
> Date: Thu, 01 May 2008 03:49:50 -0700 (PDT)
>
> > I guess it's the pskb_expand_head() calls done by net/mac80211/tx.c
> > I suspect we'll need to orphan early in order to accomodate these
> > adjustments, otherwise socket memory buffer allocations will
> > be corrupted.
>
> I think the mac80211 encryption paths on TX could be doing this as
> well, just something I noticed meanwhile.

Indeed. But then why did we never see this bug w/o monitor interfaces
and this reinjection?