]> git.baikalelectronics.ru Git - kernel.git/commit
net: rtnetlink: allow rtnl_fill_statsinfo to save private state counter
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Sat, 30 Apr 2016 08:25:26 +0000 (10:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 02:27:06 +0000 (22:27 -0400)
commit5d8e54f95e77616a8d223729156d33eb44aa6826
tree8ed23ba23e56af56925834c609d6de1ad91d0829
parent5a5ab66b490acc8237253b58904682cf48330c34
net: rtnetlink: allow rtnl_fill_statsinfo to save private state counter

The new prividx argument allows the current dumping device to save a
private state counter which would enable it to continue dumping from
where it left off. And the idxattr is used to save the current idx user
so multiple prividx using attributes can be requested at the same time
as suggested by Roopa Prabhu.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c