From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 881182A07 for ; Mon, 10 Aug 2015 02:08:10 +0200 (CEST) Received: by wicja10 with SMTP id ja10so18417910wic.1 for ; Sun, 09 Aug 2015 17:08:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=kl8L3XsMWQSPRZ8z7Sxen6cr6tcrJPuf4beSsbrDPtA=; b=OJovkzYucqztRFaee+H67D+5rRWIP+E7sQdEyFZJ5to64vKrp2bToqIjaesahYfOv1 a4p+oNEtUcPGiUkgxEgmwXokK26orAS345yJjHTh6/3EOETUmcr+HfMEu+Fm7PD6C4Gs 8rUiRfEPcLLuJQYBC1512C98/U49vuPnk2v79+Qzr7o4ANiSZcO09Ma1RNNwcRQT598J ZzJFG9b+MRCJD6IOP1gpWg1+ZVCtOpXXQOs83ZmmvrPPD6U2DGvpkB/jFktJJLj8WzDD b42HDQpg1O9ABdVdW5/B5LPIfOnTLv/LMi/dIkRggbgyoEdVcfyLd6lsiJJtiokYmV88 e9Ug== X-Gm-Message-State: ALoCoQkdBsf9epEoH49lGwHmsrCQ/Uia+Cbyma93g5IQGl4lt+0s+odSa/vv54pV8BiX/1aD0bzo X-Received: by 10.180.90.65 with SMTP id bu1mr19641510wib.0.1439165290442; Sun, 09 Aug 2015 17:08:10 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id kt1sm16215582wjb.8.2015.08.09.17.08.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Aug 2015 17:08:09 -0700 (PDT) From: Thomas Monjalon To: "Jastrzebski, MichalX K" Date: Mon, 10 Aug 2015 02:06:56 +0200 Message-ID: <1525257.r8l5aTe9he@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <60ABE07DBB3A454EB7FAD707B4BB1582139750C6@IRSMSX109.ger.corp.intel.com> References: <60ABE07DBB3A454EB7FAD707B4BB1582139750C6@IRSMSX109.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 1/1] bonding: fix device initialisation error handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 00:08:10 -0000 > > If the name parameter to rte_eth_bond_create() was NULL, > > there was a segmentation fault because eth_dev was also NULL. > > Add error handling of mac_addrs memory allocation. > > Add call to rte_eth_dev_release_port() in error handling. > > > > Signed-off-by: Bernard Iremonger > Acked-by: Michal Jastrzebski Applied, thanks