From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 9B998FAB8 for ; Thu, 9 Feb 2017 18:48:18 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id r141so27039548wmg.1 for ; Thu, 09 Feb 2017 09:48:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=fQZXz+1Gl4FyXYb8Vl/Rh+COuQWuYTLqDx5UMRPlT9Q=; b=a4ClSZHHV0oeLdx9y+NrfWFnfGe8rjGeoyqYbFnA5ONKwIIB58vQExyFFibg4KhOAu 9SvCCiWmk7yWMk3MAN4Du5U8KVgXKlCdVSFJl+k0WTjDEeI+N6vdImpAd4bER31IQg/E BNlrsLWb55AJwei5dFhd0OCTk4TIO83WS83RgfyVS3gvarEKcfzELwdvTiR67ulyBRaw 30nuQASTp2dCyuPR8rw0Lzw2GnSx8QM7Ckc40WK1Y+pjPTiMNhBRoE6bvdKCbE520g8N j9geMnuDioUmbaLw3m5iaN8GA9rNKEgskzfxO5EMzKBInpF1plWwMFvzdLY+LFtI8q8O XWwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=fQZXz+1Gl4FyXYb8Vl/Rh+COuQWuYTLqDx5UMRPlT9Q=; b=C/biq3pmgooSQGHVVQf38Uhvqj21OdjcBebvEfcCO5NjHbdD+/QhCtIHf2+IenmSzv zCOiWVnOhGSv5m57rpYIHZq0/oCDR0bEweIUwth4sPnVgwAsx0Ht9Z5SrGCQREmKHuQR WsU33jRMSOrbRNHB6iziyy/7t1alyfSk+c4DwuHU2FSSz7hZfz6QsN3heuToIdPm29I2 YDHo3mrWJZq+Q3fvdOI4w0Ywqg/w5BbNW23btU09AhnB6WI17vxvIWqUaifQcA33+l0v LHlXmxe4QiX3jFOQioLXJ0+0x41ebax9bdpgEGk0ip3rU0kf7rfUQ5xmqCSf6a7pnkxw 96TQ== X-Gm-Message-State: AMke39mO1ZSalaCMay62Sq4iP/b39QDT3C2QpimhM38h3Hu2/bqfYcr7HjSfuvNMJENnDJRX X-Received: by 10.28.31.130 with SMTP id f124mr3904701wmf.130.1486662498285; Thu, 09 Feb 2017 09:48:18 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 10sm19633446wrw.13.2017.02.09.09.48.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 09:48:17 -0800 (PST) From: Thomas Monjalon To: Jan Blunck , Alan Dewar Cc: dev@dpdk.org, "Dumitrescu, Cristian" , "h.mikita89@gmail.com" , stable@dpdk.org Date: Thu, 09 Feb 2017 18:48:16 +0100 Message-ID: <16895121.pfXIAiMIQd@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D8912652748706@IRSMSX108.ger.corp.intel.com> References: <1486402362-15098-1-git-send-email-jblunck@infradead.org> <3EB4FA525960D640B5BDFFD6A3D8912652748706@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] sched: fix segmentation fault when freeing port X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 17:48:18 -0000 > > Prevent a segmentation fault in rte_sched_port_free by only accessing > > the port structure after the NULL pointer check has been made. > > > > Fixes: 7b3c4f35 ("sched: fix releasing enqueued packets") > > > > Signed-off-by: Alan Dewar > > Signed-off-by: Jan Blunck > > Acked-by: Cristian Dumitrescu Cc: stable@dpdk.org Applied, thanks