[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1209634349.4008.15.camel@johannes.berg>
Date: Thu, 01 May 2008 11:32:29 +0200
From: Johannes Berg <johannes@...solutions.net>
To: David Miller <davem@...emloft.net>
Cc: mb@...sch.de, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org
Subject: Re: mac80211 truesize bugs
On Thu, 2008-05-01 at 02:20 -0700, David Miller wrote:
> From: Johannes Berg <johannes@...solutions.net>
> Date: Thu, 01 May 2008 11:08:06 +0200
>
> > > Seems the skb->destructor messes it up.
> >
> > Actually, it seems to be outside of mac80211, I put in a WARN_ON() and
> > got this:
>
> You're just seeing who freed it last here.
>
> It could have had it's ->truesize put into an illegal state
> elsewhere.
Yes, I know, but it doesn't come from my skb_orphan() call. Hence, I
just netif_rx() the packet which makes it go onto the input_pkt_queue
and then to netif_receive_skb() which gives it to af_packet and all
others should ignore it since I set PACKET_OTHERHOST.
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists