On Thu, 2008-12-11 at 14:39 +0000, Keir wrote: > Yea I had that thought, but I wasn't sure how many items there would > be in that list, or whether there was a less than linear time way to > do it. I did look into the IW code, but i found it quite hard to > follow through that back into libnl and from there back into the > kernel. Well, it's pretty much rcu_read_lock() list_for_each_entry_rcu(sta, &local->sta_list) { if (sta->sdata != mesh_sdata) continue; do something with sta } rcu_read_unlock(); I'd think. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part