Search Linux Wireless

Re: about RCU programming

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

 



On Wed, 2011-06-22 at 11:15 +0200, Manuel Sáez wrote:

> and the read side:
> rcu_read_lock();
> rcu_derreference(sdata->u.ap.polling_list->sta);
> copy_sta(sdata->u.ap.polling_list->sta);
> rcu_read_unlock();
> 
> sdata->u.ap.polling_list = sdata.u.ap.polling_list->next;

This code snippet makes no sense at all. I suggest you read up on how
RCU works first.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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