ipmr: Make ipmr_dump() common
authorYuval Mintz <yuvalm@mellanox.com>
Mon, 26 Mar 2018 12:01:33 +0000 (15:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:14:43 +0000 (13:14 -0400)
commitcdc9f9443b5c3a61c7cec807965054ee1fd29acf
tree5b7d4b2295983ee08909ffb33a4c7130edb03573
parent54c4cad97b8fd414909b78d4274a6797baa52b3b
ipmr: Make ipmr_dump() common

Since all the primitive elements used for the notification done by ipmr
are now common [mr_table, mr_mfc, vif_device] we can refactor the logic
for dumping them to a common file.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mroute_base.h
net/ipv4/ipmr.c
net/ipv4/ipmr_base.c