From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 11/13] KNI: guard against unterminated dev_info.name leading to BUG in alloc_netdev() Date: Wed, 14 Dec 2016 17:48:34 +0000 Message-ID: <83c9777b-0142-1ceb-383a-3a7ed37df970@intel.com> References: <5b69bbf4-f570-26c4-79e4-c3342769d81d@intel.com> <20161214173755.lnfn3qlnqdmanqi2@rere.qmqm.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= 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) In-Reply-To: <20161214173755.lnfn3qlnqdmanqi2@rere.qmqm.pl> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.