]> git.baikalelectronics.ru Git - kernel.git/commit
ipmr, ip6mr: Unite mfc seq logic
authorYuval Mintz <yuvalm@mellanox.com>
Wed, 28 Feb 2018 21:29:36 +0000 (23:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2018 18:13:23 +0000 (13:13 -0500)
commita9db8aa001208f97f7371f7a2c20441ce1c7eea8
tree268700786a50db78ae60ba4bdbe34bb9d6c4069f
parent27c773f07a9dab7764ff850745567b9f82a08679
ipmr, ip6mr: Unite mfc seq logic

With the exception of the final dump, ipmr and ip6mr have the exact same
seq logic for traversing a given mr_table. Refactor that code and make
it common.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mroute_base.h
net/ipv4/ipmr.c
net/ipv4/ipmr_base.c
net/ipv6/ip6mr.c