2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2012-06-28 03:57:45 +00:00
|
|
|
|
|
|
|
|
|
2007-07-18 15:47:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-11-03 03:26:03 +00:00
|
|
|
|
2007-07-18 15:47:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2015-01-16 11:37:12 +01:00
|
|
|
|
|
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-23 20:54:40 +01:00
|
|
|
|
|
|
|
|
|
2015-01-16 11:37:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-14 17:14:44 +01:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2009-11-03 03:26:03 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
2013-04-23 07:48:30 +00:00
|
|
|
|
2013-11-14 17:14:45 +01:00
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
|
|
|
|
|
2013-11-14 17:14:45 +01:00
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
|
|
|
|
|
2014-12-23 21:00:06 +01:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2013-11-14 17:14:45 +01:00
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
2013-11-14 17:14:44 +01:00
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2013-08-23 12:45:04 -07:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
|
|
|
|
|
2013-11-30 13:21:30 +01:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2009-11-03 03:26:03 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 23:06:44 -05:00
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
2013-11-30 13:21:30 +01:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2010-06-01 06:51:19 +00:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-06-01 06:51:19 +00:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-04 21:14:03 +02:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-01 20:07:42 -08:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
2009-11-03 03:26:03 +00:00
|
|
|
|
2007-06-05 12:38:30 -07:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-01 20:07:42 -08:00
|
|
|
|
2013-11-14 17:14:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
2013-09-20 11:23:27 -07:00
|
|
|
|
2013-08-23 12:45:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-15 14:19:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-23 12:45:04 -07:00
|
|
|
|
|
|
|
|
|
2013-11-15 14:19:08 +01:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
|
|
|
|
|
2013-11-15 14:19:08 +01:00
|
|
|
|
2013-08-23 12:45:04 -07:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:31 +01:00
|
|
|
|
2013-09-20 11:23:27 -07:00
|
|
|
|
2015-09-22 18:56:43 +02:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2013-11-30 13:21:30 +01:00
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2013-09-20 11:23:27 -07:00
|
|
|
|
2005-11-10 02:25:56 +01: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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-21 16:42:51 -08: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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-14 19:46:02 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2006-11-14 19:46:02 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-16 22:09:00 +01:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2015-01-16 22:09:00 +01:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-03 16:36:54 -07:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2011-01-28 05:43:40 +00:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
2013-11-21 18:17:04 +01:00
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
2006-08-15 00:31:06 -07:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
|
|
|
|
|
2006-08-15 00:31:06 -07:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
|
|
|
|
|
2009-07-10 09:51:34 +00:00
|
|
|
|
|
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|
|
|
|
|
|
2006-11-14 19:45:27 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-07 20:12:54 +00:00
|
|
|
|
2006-11-14 19:45:27 -08:00
|
|
|
|
|
|
|
|
|
2006-07-14 00:24:39 -07:00
|
|
|
|
|
|
|
|
|
2011-05-10 10:16:21 +02:00
|
|
|
|
2006-07-14 00:24:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-09-30 23:28:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-11-14 19:44:52 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:37 +01:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
2013-11-19 15:19:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:39 +01:00
|
|
|
|
2013-11-19 15:19:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:38 +01:00
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:37 +01:00
|
|
|
|
2013-11-21 18:20:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-11-19 15:19:37 +01:00
|
|
|
|
|
|
|
|
|
2006-11-14 19:44:52 -08:00
|
|
|
|
2014-09-18 10:31:03 +02:00
|
|
|
|
2014-12-22 18:56:36 +01:00
|
|
|
|
2014-09-18 10:31:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-22 18:56:36 +01:00
|
|
|
|
2014-09-18 10:31:03 +02:00
|
|
|
|
2005-11-10 02:25:56 +01:00
|
|
|
|