From: Johannes Berg Date: Fri, 7 Aug 2009 14:17:38 +0000 (+0200) Subject: nl80211: add generation number to all dumps X-Git-Tag: v2.6.32-rc1~703^2~367^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5ea9120be2e5d5c846243416cfdce01d02f5836;p=pandora-kernel.git nl80211: add generation number to all dumps In order for userspace to be able to figure out whether it obtained a consistent snapshot of data or not when using netlink dumps, we need to have a generation number in each dump message that indicates whether the list has changed or not -- its value is arbitrary. This patch adds such a number to all dumps, this needs some mac80211 involvement to keep track of a generation number to start with when adding/removing mesh paths or stations. The wiphy and netdev lists can be fully handled within cfg80211, of course, but generation numbers need to be stored there as well. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed