]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: Add dump all for netconf
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 21 Mar 2017 19:22:26 +0000 (12:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:45:17 +0000 (12:45 -0700)
commit2f8e750378db2f33cc15d5a7d620cd8caa1ee7fd
tree1a8e4d97f112df8265149b044ab9e86366fe107e
parent651b080eb76a562747d6b370ce44d7f8bb62bb3e
rtnetlink: Add dump all for netconf

Use the rtnl_dump_all to dump all netconf handlers that have been
registered. Allows userspace to send a dump request for PF_UNSPEC
and get all families.

Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c