2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-21 09:35:38 +00:00
|
|
|
|
2012-09-06 18:20:01 +00:00
|
|
|
|
2012-10-13 10:46:48 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-09-22 05:54:54 +00:00
|
|
|
|
|
|
|
|
|
2007-04-25 19:08:35 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-17 06:47:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-04 09:50:58 -08:00
|
|
|
|
2012-09-06 18:20:01 +00:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-08-14 19:27:50 -07:00
|
|
|
|
2013-04-17 06:47:02 +00:00
|
|
|
|
2013-04-17 06:46:57 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-12 03:03:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-08 02:53:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-29 06:15:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-23 02:09:23 -04:00
|
|
|
|
2012-06-29 06:15:21 +00:00
|
|
|
|
|
|
|
|
|
2012-06-29 06:15:22 +00:00
|
|
|
|
2013-06-06 14:49:11 +08:00
|
|
|
|
2012-06-29 06:15:21 +00:00
|
|
|
|
|
|
|
|
|
2012-09-08 02:53:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-28 14:41:19 -08:00
|
|
|
|
2009-09-12 03:03:15 +00:00
|
|
|
|
2007-07-18 15:46:06 -07:00
|
|
|
|
2009-09-24 15:44:05 -07:00
|
|
|
|
2007-07-18 15:47:05 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-03-20 18:52:01 -08:00
|
|
|
|
2013-04-17 06:47:04 +00:00
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
|
|
|
|
|
2005-10-07 07:46:04 +01:00
|
|
|
|
2010-05-04 17:36:46 -07:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2010-05-04 17:36:46 -07:00
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-05 11:23:39 -07:00
|
|
|
|
2007-11-07 02:42:09 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-10-10 21:14:03 -07:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2013-06-28 03:04:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2007-03-25 20:27:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-03-25 20:27:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-10 14:10:15 -08:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-11-04 09:50:58 -08:00
|
|
|
|
2009-08-25 16:07:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-24 14:30:16 +00:00
|
|
|
|
2012-10-04 20:15:48 +00:00
|
|
|
|
|
|
|
|
|
2011-06-10 01:27:09 +00:00
|
|
|
|
|
|
|
|
|
netlink: advertise incomplete dumps
Consider the following situation:
* a dump that would show 8 entries, four in the first
round, and four in the second
* between the first and second rounds, 6 entries are
removed
* now the second round will not show any entry, and
even if there is a sequence/generation counter the
application will not know
To solve this problem, add a new flag NLM_F_DUMP_INTR
to the netlink header that indicates the dump wasn't
consistent, this flag can also be set on the MSG_DONE
message that terminates the dump, and as such above
situation can be detected.
To achieve this, add a sequence counter to the netlink
callback struct. Of course, netlink code still needs
to use this new functionality. The correct way to do
that is to always set cb->seq when a dumpit callback
is invoked and call nl_dump_check_consistent() for
each new message. The core code will also call this
function for the final MSG_DONE message.
To make it usable with generic netlink, a new function
genlmsg_nlhdr() is needed to obtain the netlink header
from the genetlink user header.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-06-20 13:40:46 +02:00
|
|
|
|
2009-08-25 16:07:40 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-11-04 09:50:58 -08:00
|
|
|
|
2007-09-12 13:05:38 +02:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-30 15:22:06 -05:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2012-02-24 14:30:15 +00:00
|
|
|
|
|
|
|
|
|
2012-10-04 20:15:48 +00:00
|
|
|
|
2012-02-24 14:30:16 +00:00
|
|
|
|
2012-10-04 20:15:48 +00:00
|
|
|
|
2012-02-24 14:30:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-04 20:15:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2013-06-21 19:38:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|