On 27/02/18 20:58, Yuval Mintz wrote: > 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 <[email protected]> > --- > include/linux/mroute.h | 21 ---- > include/linux/mroute6.h | 1 - > include/linux/mroute_base.h | 46 +++++++ > include/net/netns/ipv6.h | 2 +- > net/ipv4/ipmr.c | 2 - > net/ipv6/ip6mr.c | 301 > ++++++++++++++++++++------------------------ > 6 files changed, 186 insertions(+), 187 deletions(-) >
Nice, Acked-by: Nikolay Aleksandrov <[email protected]>
