Search Linux Wireless

Re: [PATCH 17/20] mac80211: avoid copying packets to interfaces that are down

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

 



On Wednesday 15 August 2007 07:49, Johannes Berg wrote:
> Is there a possibility of a race condition here? If the interface is
> brought down right after this check the SKB could be copied to that
> interface after the skb queue has been flushed.
>
Yeah. This can be avoided by holding a write lock on the subif lock while 
flushing the skb queue. Not sure how much I like doing that, but it should 
work.

-Michael Wu

Attachment: pgpLdQJVeH5gq.pgp
Description: PGP signature


[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