]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81fd6a75fc8e5e7bdac89333646e118d11979034
treed26edbaa559a4aea6ba7583b37732555a8742a3e
parent9cc7594ea3e11e343225d4d4e82f22a286d866fb
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