From: Johannes Berg Date: Tue, 21 Jun 2011 07:45:33 +0000 (+0200) Subject: nl80211: use netlink consistent dump feature for BSS dumps X-Git-Tag: v3.1-rc1~316^2~350^2^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9720bb3ab0b80659c63ed337eab66104a4156db0;p=pandora-kernel.git nl80211: use netlink consistent dump feature for BSS dumps Use the new consistent dump feature from (generic) netlink to advertise when dumps are incomplete. Readers may note that this does not initialize the rdev->bss_generation counter to a non-zero value. This is still OK since the value is modified only under spinlock when the list is modified. Since the dump code holds the spinlock, the value will either be > 0 already, or the list will still be empty in which case a consistent dump will actually be made (and be empty). Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed