OSDN Git Service

ipmr: Refactor mr_rtm_dumproute
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Oct 2018 01:56:46 +0000 (18:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 07:13:12 +0000 (00:13 -0700)
commite1cedae1ba6b09ae8376c1486712bf91ea0dfc41
tree7beda1104d445fb0c6dabf7e6a0db4819ab63ed7
parentbae9a78b17b87a7cef56cf492916007a58f65172
ipmr: Refactor mr_rtm_dumproute

Move per-table loops from mr_rtm_dumproute to mr_table_dump and export
mr_table_dump for dumps by specific table id.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mroute_base.h
net/ipv4/ipmr_base.c