Search Linux Wireless

Re: [PATCH] mac80211: partially fix skb->cb use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-07-29 at 13:23 +0200, Luis Carlos Cobo wrote:
> On Tue, 2008-07-29 at 11:32 +0200, Johannes Berg wrote:
> > This patch fixes mac80211 to not use the skb->cb over the queue step
> > from virtual interfaces to the master. The patch also, for now,
> > disables aggregation because that would still require requeuing,
> > will fix that in a separate patch. There are two other places (software
> > requeue and powersaving stations) where requeue can happen, but that is
> > not currently used by any drivers/not possible to use respectively.
> 
> On net/mac80211/rx.c:ieee80211_data_to_8023() cb is used for mesh frames
> to save the original mesh header. Then if the frame has to be forwarded,
> the frame is queued on the virtual interface and
> net/mac80211/tx.c:ieee80211_subif_start_xmit() expects the mesh header
> to remain in the cb if the frame is not originally from the local host.
> It's a different step from the one you mention, but as I understand it
> it may suffer the same problem right?

Indeed, that cannot be done. Good point, I'd thought that case was
different.

johannes

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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux