mroute*: Make mr_table a common struct
authorYuval Mintz <yuvalm@mellanox.com>
Wed, 28 Feb 2018 21:29:32 +0000 (23:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2018 18:13:23 +0000 (13:13 -0500)
commitb70432f7319eb75b24ca57dde8146c5e27244780
treed26edbaa559a4aea6ba7583b37732555a8742a3e
parent87c418bf1323d57140f4b448715f64de3fbb7e91
mroute*: Make mr_table a common struct

Following previous changes to ip6mr, mr_table and mr6_table are
basically the same [up to mr6_table having additional '6' suffixes to
its variable names].
Move the common structure definition into a common header; This
requires renaming all references in ip6mr to variables that had the
distinct suffix.

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.h
include/linux/mroute6.h
include/linux/mroute_base.h
include/net/netns/ipv6.h
net/ipv4/ipmr.c
net/ipv6/ip6mr.c