On Fri, 2008-02-29 at 17:31 -0800, Luis Carlos Cobo wrote: > On Mon, 2008-02-25 at 17:03 +0100, Johannes Berg wrote: > > Can you do that in both nl80211 and mac80211 for both STAs and paths? > > Look at net/netlink/genetlink.c ctrl_dumpfamily() for an example. > > I'm not sure I completely get what changes are necessary. Actually, none are. I was totally wrong about all the stuff. Sorry. > What I understand is that I should acquire (if idx == 0) and release > (just before returning -ENOENT) the rtnl_lock() from within (mac80211 or > equivalent) dump_station function instead of from nl80211_dump_station. > Is this the whole idea? That was completely wrong, I was trying to guarantee a consistent dump but that is impossible. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part