Re: mac80211 truesize bugs

Johannes Berg
2008-05-04T22:48:44Z

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

On Sun, 2008-05-04 at 15:45 -0700, David Miller wrote:
> From: Johannes Berg <johannes@sipsolutions.net>
> Date: Sun, 04 May 2008 16:06:30 +0200
>
> > [ 256.241496] KERNEL: assertion (!atomic_read(&sk->sk_wmem_alloc))
> > failed at net/packet/af_packet.c (225)
> >
> > any ideas about that?
>
> This is exactly what happens if you change skb->truesize
> when a socket is still attached to the skb.

Ok, that makes sense. Then it also makes sense I never got that warning
again, I had left one of my test patches in too long.