From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 1874C99BD for ; Sun, 30 Jul 2017 23:43:49 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BA137206EF; Sun, 30 Jul 2017 17:43:48 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 30 Jul 2017 17:43:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/Oe8uO5kfGufQvt /qkYHxnPkfhZVzQlaQderXDUYVd8=; b=itIlgmJtUerG8lgGDvVW+ca5nQ6MjS9 3ptvWxu1PPaokdjZHI214zF1JkHhb4c4HFmeEsLEz/d+qn8VhJ6RIdwNGTrh7UdX 1ecoe2gbEbZHpGJYXcEfNPeIFwfNIYFScDy3tf6ecRC0GlLcefeCx8ij7TPQc6Tz mCeh2rqV0XBU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=/Oe8uO5kfGufQvt/qkYHxnPkfhZVzQlaQderXDUYVd8=; b=aJ2ZCC/l UtOFrMM+WJ3BaLi1f001nr3tlVT8r3ym02b8uPAk0H6HkIrgP4FvNMVGsukzTPno 8n4xVd+20usp4Z9QvPsU71jiSg6uFfZ4SqWnNIhsV1+SGSOF76r4U28SggDSIoUs F90xKhxlBat/4/oANdmGVD2GyS0pkI3HyPx9eXu5Wal/qohG10v5+jaJOWel2E5X 83+xQgIUTmjJ5pDiHLo3ILMm0xWrgolzJHK5E+BY9ROqud/qghhhBeHurC9R1B5q L/JI5CFc7gm086mqQu1mVTTz3ziqTaPJTBsi1oOjGcORSOCyyKEIkUIY7xAjnL/H a5XKR2wk2KrTYQ== X-ME-Sender: X-Sasl-enc: utBAGL5eBWI697BqNAAScnxc+CzsMD/BJX3hej6Q1bCL 1501451028 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 4B7B67E2DE; Sun, 30 Jul 2017 17:43:48 -0400 (EDT) From: Thomas Monjalon To: Declan Doherty Cc: dev@dpdk.org, Tomasz Kulasek Date: Sun, 30 Jul 2017 23:43:46 +0200 Message-ID: <4080378.07Ggvf54qe@xps> In-Reply-To: <31a717db-a089-7567-bb5b-49f6693cf343@intel.com> References: <20170726155048.10648-1-tomaszx.kulasek@intel.com> <31a717db-a089-7567-bb5b-49f6693cf343@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bonding: fix segfault when primary slave set 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: Sun, 30 Jul 2017 21:43:49 -0000 26/07/2017 19:06, Declan Doherty: > On 26/07/2017 4:50 PM, Tomasz Kulasek wrote: > > rte_eth_bond_primary_set segfaults for invalid port. This patch moves > > devices check before use of internal data. > > > > Fixes: 4c42498d916d ("net/bonding: allow slaves to also be bonded devices") > > > > Signed-off-by: Tomasz Kulasek > > Acked-by: Declan Doherty Please Declan, review patches from other contributors, thanks