From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 2BC522934 for ; Wed, 14 Dec 2016 18:48:36 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 14 Dec 2016 09:48:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,347,1477983600"; d="scan'208";a="18089099" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.29]) ([10.237.220.29]) by orsmga002.jf.intel.com with ESMTP; 14 Dec 2016 09:48:34 -0800 To: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= References: <5b69bbf4-f570-26c4-79e4-c3342769d81d@intel.com> <20161214173755.lnfn3qlnqdmanqi2@rere.qmqm.pl> Cc: dev@dpdk.org From: Ferruh Yigit Message-ID: <83c9777b-0142-1ceb-383a-3a7ed37df970@intel.com> Date: Wed, 14 Dec 2016 17:48:34 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161214173755.lnfn3qlnqdmanqi2@rere.qmqm.pl> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH 11/13] KNI: guard against unterminated dev_info.name leading to BUG in alloc_netdev() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 17:48:37 -0000 On 12/14/2016 5:37 PM, Michał Mirosław wrote: > On Wed, Dec 14, 2016 at 05:33:11PM +0000, Ferruh Yigit wrote: >> On 12/13/2016 1:08 AM, Michał Mirosław wrote: >>> Signed-off-by: Michał Mirosław >>> --- >> >> Acked-by: Ferruh Yigit >> >> I guess no harm doing extra check on user input. > > This actually prevents an OOPS that happens when you try to create KNI with > too long name. Thanks for fixing then.