From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] ipvlan: Add new func ipvlan_is_valid_dev instead of duplicated codes Date: Sun, 03 Dec 2017 09:47:04 -0500 (EST) Message-ID: <20171203.094704.483108427923656064.davem@davemloft.net> References: <1512117183-1975-1-git-send-email-gfree.wind@vip.163.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: maheshb@google.com, netdev@vger.kernel.org To: gfree.wind@vip.163.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:35798 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751177AbdLCOrF (ORCPT ); Sun, 3 Dec 2017 09:47:05 -0500 In-Reply-To: <1512117183-1975-1-git-send-email-gfree.wind@vip.163.com> Sender: netdev-owner@vger.kernel.org List-ID: From: gfree.wind@vip.163.com Date: Fri, 1 Dec 2017 16:33:03 +0800 > From: Gao Feng > > There are multiple duplicated condition checks in the current codes, so > I add the new func ipvlan_is_valid_dev instead of the duplicated codes to > check if the netdev is real ipvlan dev. > > Signed-off-by: Gao Feng Applied, thank you.