On 27/02/18 20:58, Yuval Mintz wrote: > 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 <yuv...@mellanox.com> > --- > include/linux/mroute_base.h | 69 ++++++++++++++++++++++++++++++++ > net/ipv4/ipmr.c | 93 +++---------------------------------------- > net/ipv4/ipmr_base.c | 62 +++++++++++++++++++++++++++++ > net/ipv6/ip6mr.c | 97 > ++++----------------------------------------- > 4 files changed, 143 insertions(+), 178 deletions(-) >
Acked-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>