From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com ([74.125.82.67]:51095 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbeB0UOi (ORCPT ); Tue, 27 Feb 2018 15:14:38 -0500 Received: by mail-wm0-f67.google.com with SMTP id w128so964220wmw.0 for ; Tue, 27 Feb 2018 12:14:38 -0800 (PST) Subject: Re: [PATCH net-next 04/11] mroute*: Make mr_table a common struct To: Yuval Mintz , netdev@vger.kernel.org Cc: mlxsw@mellanox.com, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org References: <1519757908-32863-1-git-send-email-yuvalm@mellanox.com> <1519757908-32863-5-git-send-email-yuvalm@mellanox.com> From: Nikolay Aleksandrov Message-ID: <08e34eb1-226c-408a-1fd0-35b15ef26903@cumulusnetworks.com> Date: Tue, 27 Feb 2018 22:14:36 +0200 MIME-Version: 1.0 In-Reply-To: <1519757908-32863-5-git-send-email-yuvalm@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: 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 > --- > 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